]> source.dussan.org Git - nextcloud-server.git/commitdiff
Shorten export zip names
authorTom Needham <needham.thomas@gmail.com>
Sat, 17 Mar 2012 17:45:39 +0000 (17:45 +0000)
committerTom Needham <needham.thomas@gmail.com>
Sat, 17 Mar 2012 17:45:39 +0000 (17:45 +0000)
lib/migrate.php

index 415c33e5bea87c4b4edf182c76439ee171da5007..84eafcd4cdce1c04f10441beecdf4834b57f9f97 100644 (file)
@@ -126,7 +126,7 @@ class OC_Migrate{
        */
        static public function createSysExportFile( $exporttype='instance', $path=null ){
                // Calculate zip name
-               $zipname = "owncloud_export_" . date("y-m-d_H-i-s") . ".zip";
+               $zipname = "oc_export_" . date("y-m-d_H-i-s") . ".zip";
                // Get the data dir
                $datadir = OC_Config::getValue( 'datadirectory' );
                // Calculate destination
@@ -293,7 +293,7 @@ class OC_Migrate{
                $user = OC_User::getUser();
                $userdatadir = OC_Config::getValue( 'datadirectory' ) . '/' . $user . '/';
                // Calculate zip name
-               $zipname = "owncloud_userexport_" . $user . '_' . date("y-m-d_H-i-s") . ".zip";
+               $zipname = "oc_userexport_" . $user . '_' . date("y-m-d_H-i-s") . ".zip";
                // Calculate destination
                if( !is_null( $path ) ){
                        // Path given