use constant

This commit is contained in:
redmatrix
2016-04-02 21:06:41 -07:00
parent 381cc3e6f8
commit 8b3c099a12
3 changed files with 10 additions and 10 deletions

View File

@@ -1089,7 +1089,7 @@ function discover_by_webbie($webbie) {
// If we discover zot - don't search further; grab the info and get out of
// here.
if($link['rel'] == 'http://purl.org/zot/protocol') {
if($link['rel'] === PROTOCOL_ZOT) {
logger('discover_by_webbie: zot found for ' . $webbie, LOGGER_DEBUG);
if(array_key_exists('zot',$x) && $x['zot']['success'])
$i = import_xchan($x['zot']);