deleteFromOpcodeCache: make parameter mandatory, document parameter
Both pointed out in submission review by @bantu, thanks.
This commit is contained in:
parent
3b4823d89c
commit
8b2b0aae31
|
@ -1257,9 +1257,10 @@ class OC_Util {
|
||||||
* caller should fall back on clearing the entire cache
|
* caller should fall back on clearing the entire cache
|
||||||
* with clearOpcodeCache() if unsuccessful
|
* 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
|
* @return bool true if underlying function returns true, otherwise false
|
||||||
*/
|
*/
|
||||||
public static function deleteFromOpcodeCache($path=NULL) {
|
public static function deleteFromOpcodeCache($path) {
|
||||||
$ret = false;
|
$ret = false;
|
||||||
if ($path) {
|
if ($path) {
|
||||||
// APC >= 3.1.1
|
// APC >= 3.1.1
|
||||||
|
|
Loading…
Reference in New Issue