Fix tests
This commit is contained in:
parent
be7a01f086
commit
58531a2748
|
@ -4049,6 +4049,11 @@ class Diaspora
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is only needed for the automated tests
|
||||||
|
if (empty($owner['uprvkey'])) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$message = self::constructComment($item, $owner);
|
$message = self::constructComment($item, $owner);
|
||||||
if ($message === false) {
|
if ($message === false) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user