From 8b2b0aae31fe084c3f8edbc6b307a39db03211c9 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 6 Nov 2014 18:05:20 -0800 Subject: [PATCH] deleteFromOpcodeCache: make parameter mandatory, document parameter Both pointed out in submission review by @bantu, thanks. --- lib/private/util.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/private/util.php b/lib/private/util.php index fa0c6f13c9..0e1bb3483c 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