Merge branch 'master' into auto-maintenance
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Wed, 26 Feb 2014 16:56:12 +0000 (17:56 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Wed, 26 Feb 2014 16:56:12 +0000 (17:56 +0100)
TODO.txt
sql/sql.d/052-user-rename-tsusp.sql
web/Obj/user.phh

index 862e2a4..3d779e3 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -11,7 +11,7 @@
       DONE . Distinguish between inherited mult and local mult
 
    - AUTO-MAINTENANCE
-     . Terms Of Service acceptance
+     DONE . Terms Of Service acceptance
        DONE . print date of hard switch
        DONE . TOS version
        DONE . user TOS acceptance (db field)
index e219983..25a8896 100644 (file)
@@ -1 +1,3 @@
-ALTER TABLE #PFX#users RENAME COLUMN tsusp TO lintm;
+ALTER TABLE #PFX#users RENAME COLUMN lintm TO tsusp; --MB
+ALTER TABLE #PFX#users RENAME COLUMN tsusp TO lintm; --MF
+
index cf857dd..4754969 100644 (file)
@@ -67,6 +67,7 @@ define('USER_FLAG_TY_DISABLE', 0x800000); // done
 define('USER_DIS_REA_INVMAIL', 1);
 define('USER_DIS_REA_LICENCE', 2);
 define('USER_DIS_REA_BANNED',  3);
+define('USER_DIS_REA_MALICIOUS',  4);
 
 // 240 is the right value, 600 is for fwrite error test
 define('RD_ENDTIME_DELTA',  240);