]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/DBStructure.php
"update" is enough
[friendica.git] / src / Database / DBStructure.php
index bada70348f6d72c7467f99b38c13f547a1534084..68d5e42feded76c1e9c69d5e2ed320083cd553c6 100644 (file)
@@ -182,7 +182,7 @@ class DBStructure {
                return t('Errors encountered performing database changes: ').$message.EOL;
        }
 
-       public static function updateStructure($verbose, $action, $tables = null, $definition = null) {
+       public static function update($verbose, $action, $tables = null, $definition = null) {
                if ($action) {
                        Config::set('system', 'maintenance', 1);
                        Config::set('system', 'maintenance_reason', sprintf(t(': Database update'), DBM::date().' '.date('e')));
@@ -1686,4 +1686,4 @@ class DBStructure {
 
                return($database);
        }
-}
\ No newline at end of file
+}