deleteFromOpcodeCache: make parameter mandatory, document parameter

Both pointed out in submission review by @bantu, thanks.
This commit is contained in:
Adam Williamson 2014-11-06 18:05:20 -08:00
parent 3b4823d89c
commit 8b2b0aae31
1 changed files with 2 additions and 1 deletions

View File

@ -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