Class file relocations

Issue #3878
This commit is contained in:
Adam Magness
2017-11-07 22:57:46 -05:00
parent 6189f6c8e7
commit 4ca68c7af0
151 changed files with 987 additions and 8742 deletions
+3 -2
View 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) {