diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-03-17 17:45:39 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-03-17 17:45:39 +0000 |
commit | 77f6872ea4859e13637efbc6d051072a5085394f (patch) | |
tree | 39108475b07e940de3fd1fc9ad6fb7aa895a0b01 /lib/migrate.php | |
parent | bc085c3ff40bd7980bb28a20238bf18a754ffba2 (diff) | |
download | nextcloud-server-77f6872ea4859e13637efbc6d051072a5085394f.tar.gz nextcloud-server-77f6872ea4859e13637efbc6d051072a5085394f.zip |
Shorten export zip names
Diffstat (limited to 'lib/migrate.php')
-rw-r--r-- | lib/migrate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/migrate.php b/lib/migrate.php index 415c33e5bea..84eafcd4cdc 100644 --- a/lib/migrate.php +++ b/lib/migrate.php @@ -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 |