]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix typo in var name
authorBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 08:11:23 +0000 (10:11 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 13 Jun 2013 08:11:23 +0000 (10:11 +0200)
apps/files_encryption/lib/util.php

index f6da417c6f99db5ed617d37a02cb6d625537eba7..b6e3543bca7dc971f9f117836aeade2d710fb8f1 100644 (file)
@@ -1095,7 +1095,7 @@ class Util {
                $manipulatedRows = $result->numRows();
 
                if ($manipulatedRows === 1) {
-                       $result = true;
+                       $return = true;
                        \OCP\Util::writeLog('Encryption library', "Finish migration successfully for " . $this->userId, \OCP\Util::INFO);
                } else {
                        \OCP\Util::writeLog('Encryption library', "Could not deactivate migration mode for " . $this->userId, \OCP\Util::WARN);