[Pkg-owncloud-commits] [owncloud] 96/134: Meanwhile, the quota value is stored human-readable in the DB

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 21:44:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 09802ac217bef08629db3f1998a29bfae470eb89
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Thu Apr 3 20:51:05 2014 +0200

    Meanwhile, the quota value is stored human-readable in the DB
---
 apps/user_ldap/lib/access.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index d2ee554..43c0b1b 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -130,8 +130,7 @@ class Access extends LDAPUtility {
 			if(is_null($ocname)) {
 				$ocname = $this->dn2username($dn);
 			}
-			\OCP\Config::setUserValue($ocname, 'files', 'quota',
-				\OCP\Util::computerFileSize($quota));
+			\OCP\Config::setUserValue($ocname, 'files', 'quota', $quota);
 		}
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list