use Friendica\Core\Config;
use Friendica\Core\System;
use Friendica\Core\Worker;
+use Friendica\Database\DBM;
require_once("include/Photo.php");
intval($_REQUEST['profile']),
intval(local_user())
);
- if (dbm::is_result($r) && (! intval($r[0]['is-default'])))
+ if (DBM::is_result($r) && (! intval($r[0]['is-default'])))
$is_default_profile = 0;
}
dbesc(local_user()),
intval($scale));
- if (dbm::is_result($r)) {
+ if (DBM::is_result($r)) {
$base_image = $r[0];
intval(local_user()),
dbesc($resource_id)
);
- if (!dbm::is_result($r)){
+ if (!DBM::is_result($r)){
notice( t('Permission denied.') . EOL );
return;
}