ignore core
This commit is contained in:
parent
4ec4914bb4
commit
6737dd111d
|
@ -362,7 +362,10 @@ class OC_Util {
|
|||
public static function addScript($application, $file = null) {
|
||||
$path = OC_Util::generatePath($application, 'js', $file);
|
||||
if (!in_array($path, self::$scripts)) {
|
||||
// core js files need separate handling
|
||||
if ($application !== 'core' && $file !== null) {
|
||||
self::addTranslations($application);
|
||||
}
|
||||
self::$scripts[] = $path;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue