X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnoscrape.php;h=5761df3ff902be078a0d91d0baec9cdbd8a4f5e0;hb=4a47425bfd64f5ba04139899880fce21ddcc0623;hp=3528a2f118d1862bdba1f13adb31fc64d919f1c8;hpb=895b3abf320a28ecf0f797f4f4900e6baf429308;p=friendica.git diff --git a/mod/noscrape.php b/mod/noscrape.php index 3528a2f118..5761df3ff9 100644 --- a/mod/noscrape.php +++ b/mod/noscrape.php @@ -9,6 +9,7 @@ use Friendica\Core\System; use Friendica\Database\DBA; use Friendica\Model\Contact; use Friendica\Model\Profile; +use Friendica\Model\User; function noscrape_init(App $a) { @@ -32,7 +33,7 @@ function noscrape_init(App $a) 'guid' => $a->profile['guid'], 'key' => $a->profile['pubkey'], 'homepage' => System::baseUrl()."/profile/{$which}", - 'comm' => ($a->profile['account-type'] == Contact::ACCOUNT_TYPE_COMMUNITY), + 'comm' => ($a->profile['account-type'] == User::ACCOUNT_TYPE_COMMUNITY), 'account-type' => $a->profile['account-type'], ];