Silence error for missing appinfo info file
This commit is contained in:
parent
07719045db
commit
17af1ba893
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ class OC_App{
|
|||
$file=OC::$APPSROOT.'/apps/'.$appid.'/appinfo/info.xml';
|
||||
}
|
||||
$data=array();
|
||||
$content=file_get_contents($file);
|
||||
$content=@file_get_contents($file);
|
||||
if(!$content){
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue