Merge branch 'master', remote branch 'origin' into auto-maintenance
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 23 Jan 2014 17:35:47 +0000 (18:35 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 23 Jan 2014 17:35:47 +0000 (18:35 +0100)
TODO.txt
sql/sql.d/052-user-rename-tsusp.sql
web/Obj/user.phh

index a348846..107969d 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -4,7 +4,7 @@
   FEATURES |
  ----------+
    - 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);