Moved CONTACT_* constants to Friendica\Model\Contact class, lesser in global namespace (#5490)
* Rewrite: - moved all CONTACT_* constants from boot.php to Contact class * CR request: - renamed Contact::CONTACT_IS_* -> Contact::* ;-)
This commit is contained in:
committed by
Hypolite Petovan
parent
cff90e20f2
commit
37253656e3
@@ -171,7 +171,7 @@ function salmon_post(App $a, $xml = '') {
|
||||
// Have we ignored the person?
|
||||
// If so we can not accept this post.
|
||||
|
||||
//if((DBA::isResult($r)) && (($r[0]['readonly']) || ($r[0]['rel'] == CONTACT_IS_FOLLOWER) || ($r[0]['blocked']))) {
|
||||
//if((DBA::isResult($r)) && (($r[0]['readonly']) || ($r[0]['rel'] == Contact::FOLLOWER) || ($r[0]['blocked']))) {
|
||||
if (DBA::isResult($r) && $r[0]['blocked']) {
|
||||
logger('Ignoring this author.');
|
||||
System::httpExit(202);
|
||||
|
||||
Reference in New Issue
Block a user