diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-04-17 18:05:49 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-04-17 18:05:49 +0200 |
commit | 79d8aa871a56c18f3857fba86dc5dec14ece51d3 (patch) | |
tree | 8be91af2cf24e90b6614f69d5fa5dac53a6c5c2b /lib | |
parent | c070b624a69c0f51ebfb1cd3c3fda01d98bfd91d (diff) | |
download | nextcloud-server-79d8aa871a56c18f3857fba86dc5dec14ece51d3.tar.gz nextcloud-server-79d8aa871a56c18f3857fba86dc5dec14ece51d3.zip |
User management works good enough for now. Need to do something else ...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/User/database.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/User/database.php b/lib/User/database.php index 9a059c1b235..478ebc0967d 100644 --- a/lib/User/database.php +++ b/lib/User/database.php @@ -134,12 +134,7 @@ class OC_USER_DATABASE extends OC_USER_BACKEND { $query = OC_DB::prepare( "UPDATE *PREFIX*users SET password = ? WHERE uid = ?" ); $result = $query->execute( array( sha1( $password ), $username )); - if( $result->numRows() > 0 ){ - return true; - } - else{ - return false; - } + return true; } /** |