diff options
author | Adam Williamson <awilliam@redhat.com> | 2014-11-06 18:05:20 -0800 |
---|---|---|
committer | Adam Williamson <awilliam@redhat.com> | 2014-11-06 18:05:20 -0800 |
commit | 8b2b0aae31fe084c3f8edbc6b307a39db03211c9 (patch) | |
tree | f579cc386e86c49434fd1ddee2c9178d610a7d30 /lib | |
parent | 3b4823d89c03e54917ce6844dfbd227c8b4d6adc (diff) | |
download | nextcloud-server-8b2b0aae31fe084c3f8edbc6b307a39db03211c9.tar.gz nextcloud-server-8b2b0aae31fe084c3f8edbc6b307a39db03211c9.zip |
deleteFromOpcodeCache: make parameter mandatory, document parameter
Both pointed out in submission review by @bantu, thanks.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/util.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index fa0c6f13c9a..0e1bb3483c6 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -1257,9 +1257,10 @@ class OC_Util { * caller should fall back on clearing the entire cache * with clearOpcodeCache() if unsuccessful * + * @param string $path the path of the file to clear from the cache * @return bool true if underlying function returns true, otherwise false */ - public static function deleteFromOpcodeCache($path=NULL) { + public static function deleteFromOpcodeCache($path) { $ret = false; if ($path) { // APC >= 3.1.1 |