Revert "Move Objects to Model"

This commit is contained in:
Michael Vogel
2017-12-08 05:21:51 +01:00
committed by GitHub
parent e437c74d0e
commit 5747cfc79c
77 changed files with 593 additions and 636 deletions
+3 -3
View File
@@ -10,9 +10,9 @@ use Friendica\App;
use Friendica\Core\Cache;
use Friendica\Core\Config;
use Friendica\Database\DBM;
use Friendica\Model\Contact;
use Friendica\Model\GContact;
use Friendica\Model\GlobalContact;
use Friendica\Network\Probe;
use Friendica\Object\Contact;
use Friendica\Protocol\PortableContact;
use dba;
@@ -280,7 +280,7 @@ class CronJobs
$r = q("SELECT `uid` FROM `user` WHERE `verified` AND NOT `blocked` AND NOT `account_removed` AND NOT `account_expired`");
if (DBM::is_result($r)) {
foreach ($r AS $user) {
GContact::updateForUser($user["uid"]);
GlobalContact::updateForUser($user["uid"]);
}
}