]> source.dussan.org Git - nextcloud-server.git/commitdiff
make sure class file is loaded once
authorArthur Schiwon <blizzz@owncloud.com>
Thu, 28 Aug 2014 10:34:29 +0000 (12:34 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Thu, 28 Aug 2014 10:34:29 +0000 (12:34 +0200)
lib/private/migrate.php

index 8d88181ca195fb63a35a3ec0ea0cc7cd37aaf89a..8351155aa55758ac0f0c850703faf8d30a09b9e8 100644 (file)
@@ -62,7 +62,7 @@ class OC_Migrate{
                foreach($apps as $app) {
                        $path = OC_App::getAppPath($app) . '/appinfo/migrate.php';
                        if( file_exists( $path ) ) {
-                               include $path;
+                               include_once $path;
                        }
                }
        }