From c208a3715c82ac4e6f5d56577c31ae5df1c9c7cd Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 10 Mar 2017 16:14:56 +0000 Subject: [PATCH] mark static functions as static --- core/imageboard.pack.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 0827b411..5f0253fc 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -175,7 +175,7 @@ class Image { return $images; } - public function validate_accel($tags) { + public static function validate_accel($tags) { $yays = 0; $nays = 0; foreach($tags as $tag) { @@ -195,7 +195,7 @@ class Image { * @return null|PDOStatement * @throws SCoreException */ - public function get_accelerated_result($tags, $offset, $limit) { + public static function get_accelerated_result($tags, $offset, $limit) { global $database; if(!Image::validate_accel($tags)) {