aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-02 21:06:41 -0700
committerredmatrix <git@macgirvin.com>2016-04-02 21:06:41 -0700
commit8b3c099a123d710ba341b3e2513bb5cf04ff5b84 (patch)
tree3e62a5459d69eff19a558feaa10f0e1db11b15ea /include/network.php
parent381cc3e6f806bc99a2c4a529c34a6e4e2de15f28 (diff)
downloadvolse-hubzilla-8b3c099a123d710ba341b3e2513bb5cf04ff5b84.tar.gz
volse-hubzilla-8b3c099a123d710ba341b3e2513bb5cf04ff5b84.tar.bz2
volse-hubzilla-8b3c099a123d710ba341b3e2513bb5cf04ff5b84.zip
use constant
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php
index ac14548a5..7c7da8727 100644
--- a/include/network.php
+++ b/include/network.php
@@ -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']);