User quota from SQL
This commit is contained in:
@@ -34,7 +34,7 @@ final class App
|
||||
const HOME_QUERY = "query";
|
||||
const HOME_STATIC = "static";
|
||||
|
||||
const EMAIL_FORCE_NC = "force_nc";
|
||||
const EMAIL_FORCE_SQL = "force_sql";
|
||||
const EMAIL_INITIAL = "initial";
|
||||
const SYNC_FORCE_NC = "force_nc";
|
||||
const SYNC_FORCE_SQL = "force_sql";
|
||||
const SYNC_INITIAL = "initial";
|
||||
}
|
||||
|
||||
@@ -51,6 +51,7 @@ final class DB
|
||||
const USER_HOME_COLUMN = "db.table.user.column.home";
|
||||
const USER_NAME_COLUMN = "db.table.user.column.name";
|
||||
const USER_PASSWORD_COLUMN = "db.table.user.column.password";
|
||||
const USER_QUOTA_COLUMN = "db.table.user.column.quota";
|
||||
const USER_SALT_COLUMN = "db.table.user.column.salt";
|
||||
const USER_UID_COLUMN = "db.table.user.column.uid";
|
||||
}
|
||||
|
||||
@@ -34,5 +34,6 @@ final class Opt
|
||||
const HOME_MODE = "opt.home_mode";
|
||||
const NAME_CHANGE = "opt.name_change";
|
||||
const PASSWORD_CHANGE = "opt.password_change";
|
||||
const QUOTA_SYNC = "opt.quota_sync";
|
||||
const USE_CACHE = "opt.use_cache";
|
||||
}
|
||||
|
||||
@@ -39,9 +39,11 @@ final class Query
|
||||
const FIND_USERS = "find_users";
|
||||
const SAVE_USER = "save_user";
|
||||
|
||||
const EMAIL_PARAM = "email";
|
||||
const GID_PARAM = "gid";
|
||||
const NAME_PARAM = "name";
|
||||
const PASSWORD_PARAM = "password";
|
||||
const QUOTA_PARAM = "quota";
|
||||
const SEARCH_PARAM = "search";
|
||||
const UID_PARAM = "uid";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user