diff options
author | Simon Rettberg | 2015-03-09 18:08:15 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-03-09 18:08:15 +0100 |
commit | dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3 (patch) | |
tree | 5d9230b6ba937a272d4e966c9348238667da22f9 /inc/database.inc.php | |
parent | Fourth Commit (diff) | |
download | bwlp-webadmin-dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3.tar.gz bwlp-webadmin-dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3.tar.xz bwlp-webadmin-dcb1d7a5b6c057f34f8cc4aa69275cc4ddb109d3.zip |
+AGB, +DeleteUser feature
Diffstat (limited to 'inc/database.inc.php')
-rw-r--r-- | inc/database.inc.php | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/inc/database.inc.php b/inc/database.inc.php index efc330f..f76c9e7 100644 --- a/inc/database.inc.php +++ b/inc/database.inc.php @@ -14,21 +14,8 @@ class Database private static $dbh = false; private static $statements = array(); - /** - * Get database schema version - used for checking for updates - * @return int Version of db schema - */ - public static function getExpectedSchemaVersion() - { - return 9; - } - public static function needSchemaUpdate() - { - return Property::getCurrentSchemaVersion() < self::getExpectedSchemaVersion(); - } - - /** + /** * Connect to the DB if not already connected. */ private static function init() |