diff --git a/lib/Controller/PublicController.php b/lib/Controller/PublicController.php index 12e402f0..b27ed854 100644 --- a/lib/Controller/PublicController.php +++ b/lib/Controller/PublicController.php @@ -213,7 +213,7 @@ class PublicController extends AuthPublicShareController header('HTTP/1.1 302 Found'); header('Location: '.$url); - exit; + exit; // no other way to do this due to typing of super class } /** Get initial state of single item */ diff --git a/lib/Db/TimelineQuery.php b/lib/Db/TimelineQuery.php index 59c8bf15..f94b92b2 100644 --- a/lib/Db/TimelineQuery.php +++ b/lib/Db/TimelineQuery.php @@ -69,7 +69,7 @@ class TimelineQuery $sql = self::replaceQueryParams($query, $sql); echo "{$sql}"; - exit; + exit; // only for debugging, so this is okay } public static function replaceQueryParams(IQueryBuilder &$query, string $sql)