]> git.mxchange.org Git - friendica.git/blobdiff - include/post_update.php
Class file relocations
[friendica.git] / include / post_update.php
index 210ab79fecbdf346cf1e223c579ebf7e17b50d04..1d27f339968cc356ea0562d8bdcee6097089df83 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 use Friendica\Core\Config;
+use Friendica\Database\DBM;
 
 /**
  * @brief Calls the post update functions
@@ -187,7 +188,7 @@ function post_update_1198() {
                                (`thread`.`uid` IN (SELECT `uid` from `user`) OR `thread`.`uid` = 0)");
 
                logger("Updated threads", LOGGER_DEBUG);
-               if (dbm::is_result($r)) {
+               if (DBM::is_result($r)) {
                        Config::set("system", "post_update_version", 1198);
                        logger("Done", LOGGER_DEBUG);
                        return true;
@@ -245,7 +246,7 @@ function post_update_1206() {
                FROM `user`
                INNER JOIN `contact` ON `contact`.`uid` = `user`.`uid` AND `contact`.`self`");
 
-       if (!dbm::is_result($r)) {
+       if (!DBM::is_result($r)) {
                return false;
        }
        foreach ($r AS $user) {