make sure class file is loaded once
This commit is contained in:
parent
1c0cc6c7bc
commit
aeb9cfc6c9
|
@ -62,7 +62,7 @@ class OC_Migrate{
|
||||||
foreach($apps as $app) {
|
foreach($apps as $app) {
|
||||||
$path = OC_App::getAppPath($app) . '/appinfo/migrate.php';
|
$path = OC_App::getAppPath($app) . '/appinfo/migrate.php';
|
||||||
if( file_exists( $path ) ) {
|
if( file_exists( $path ) ) {
|
||||||
include $path;
|
include_once $path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue