-Wall cleanup
This commit is contained in:
parent
cbaf0f2dc9
commit
768acb0a3f
2 changed files with 4 additions and 4 deletions
2
boot.php
2
boot.php
|
|
@ -1292,7 +1292,7 @@ function logger($msg) {
|
|||
|
||||
if(! function_exists('activity_match')) {
|
||||
function activity_match($haystack,$needle) {
|
||||
if(($haystack === $needle) || (($basename($needle) === $haystack) && strstr($needle,NAMESPACE_ACTIVITY_SCHEMA)))
|
||||
if(($haystack === $needle) || ((basename($needle) === $haystack) && strstr($needle,NAMESPACE_ACTIVITY_SCHEMA)))
|
||||
return true;
|
||||
return false;
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue