From a417310b9d2cacea66a2cfd7757e987faf1c3284 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 27 Mar 2016 09:41:58 +0000 Subject: [PATCH] make all static methods static to avoid warning when they get called static --- api/src/Vfs/Sqlfs/StreamWrapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Vfs/Sqlfs/StreamWrapper.php b/api/src/Vfs/Sqlfs/StreamWrapper.php index db9d21fa98..64ca93e7b9 100644 --- a/api/src/Vfs/Sqlfs/StreamWrapper.php +++ b/api/src/Vfs/Sqlfs/StreamWrapper.php @@ -1195,7 +1195,7 @@ class StreamWrapper implements Vfs\StreamWrapperIface * * @return string */ - protected function _sql_readable() + protected static function _sql_readable() { static $sql_read_acl=null; @@ -1469,7 +1469,7 @@ class StreamWrapper implements Vfs\StreamWrapperIface * @param string $path * @return array|boolean array with array('path'=>$path,'owner'=>$owner,'rights'=>$rights) or false if $path not found */ - function get_eacl($path) + static function get_eacl($path) { if (!($stat = static::url_stat($path, STREAM_URL_STAT_QUIET))) {