diff options
author | Felix Moeller <mail@felixmoeller.de> | 2012-10-23 08:01:09 +0200 |
---|---|---|
committer | Felix Moeller <mail@felixmoeller.de> | 2012-10-23 08:01:09 +0200 |
commit | 2d61f0345297a92d23751d3228b74c6dca94d1e5 (patch) | |
tree | b65ce0d556196098253dec35ce9d46aeaba58491 /lib/migrate.php | |
parent | 6a00a6b9ed49f9a9da044772e7ca7f3506672100 (diff) | |
download | nextcloud-server-2d61f0345297a92d23751d3228b74c6dca94d1e5.tar.gz nextcloud-server-2d61f0345297a92d23751d3228b74c6dca94d1e5.zip |
More Checkstyle cleanup
This is for all LowerCaseConstant warnings
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 3694ea877a0..409d77a1a96 100644 --- a/lib/migrate.php +++ b/lib/migrate.php @@ -347,7 +347,7 @@ class OC_Migrate{ OC_Log::write( 'migration', 'Zip not found', OC_Log::ERROR ); return false; } - if ( self::$zip->open( $path ) != TRUE ) { + if ( self::$zip->open( $path ) != true ) { OC_Log::write( 'migration', "Failed to open zip file", OC_Log::ERROR ); return false; } @@ -576,7 +576,7 @@ class OC_Migrate{ OC_Log::write('migration', 'createZip() called but $zip and/or $zippath have not been set', OC_Log::ERROR); return false; } - if ( self::$zip->open( self::$zippath, ZIPARCHIVE::CREATE | ZIPARCHIVE::OVERWRITE ) !== TRUE ) { + if ( self::$zip->open( self::$zippath, ZIPARCHIVE::CREATE | ZIPARCHIVE::OVERWRITE ) !== true ) { OC_Log::write('migration', 'Failed to create the zip with error: '.self::$zip->getStatusString(), OC_Log::ERROR); return false; } else { |