diff --git a/hooks/post_user_create b/hooks/post_user_create deleted file mode 100644 index 1688f28..0000000 --- a/hooks/post_user_create +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -db_pwd=$(sudo cat /etc/yunohost/mysql) -user=$1 -mysql -u root -p$db_pwd limesurvey -e "INSERT IGNORE INTO prefix_users (users_name) VALUES ('$user');INSERT IGNORE INTO prefix_permissions (entity,entity_id,uid,permission,create_p,read_p,update_p,delete_p,import_p,export_p) SELECT 'global',0,uid,'surveys',1,1,1,1,0,1 FROM prefix_users WHERE users_name='$user'" diff --git a/nbproject/private/config.properties b/nbproject/private/config.properties deleted file mode 100644 index e69de29..0000000 diff --git a/nbproject/private/private.properties b/nbproject/private/private.properties deleted file mode 100644 index 2e11d24..0000000 --- a/nbproject/private/private.properties +++ /dev/null @@ -1,8 +0,0 @@ -copy.src.files=false -copy.src.target=/var/www/limesurvey_ynh -index.file= -remote.connection=grimaud.me-aac780 -remote.directory=/limesurvey__1 -remote.upload=ON_RUN -run.as=REMOTE -url=https://grimaud.me/sondage/ diff --git a/nbproject/project.properties b/nbproject/project.properties deleted file mode 100644 index 6ffde2f..0000000 --- a/nbproject/project.properties +++ /dev/null @@ -1,7 +0,0 @@ -include.path=${php.global.include.path} -php.version=PHP_5 -source.encoding=UTF-8 -src.dir=. -tags.asp=false -tags.short=true -web.root=. diff --git a/nbproject/project.xml b/nbproject/project.xml deleted file mode 100644 index 0c665c0..0000000 --- a/nbproject/project.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - org.netbeans.modules.php.project - - - limesurvey_ynh - - -