From b7708fe76a68f4f5effd4f12e58a9537ff706f81 Mon Sep 17 00:00:00 2001 From: ljf Date: Mon, 6 Feb 2017 00:35:58 +0100 Subject: [PATCH] [fix] Clean residual files --- hooks/post_user_create | 5 ----- nbproject/private/config.properties | 0 nbproject/private/private.properties | 8 -------- nbproject/project.properties | 7 ------- nbproject/project.xml | 9 --------- 5 files changed, 29 deletions(-) delete mode 100644 hooks/post_user_create delete mode 100644 nbproject/private/config.properties delete mode 100644 nbproject/private/private.properties delete mode 100644 nbproject/project.properties delete mode 100644 nbproject/project.xml 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 - - -