mark static functions as static
This commit is contained in:
parent
4b9278d09b
commit
c208a3715c
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Reference in a new issue