Code cleaup

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Haertl
2017-04-27 13:08:25 +02:00
committed by Julius Härtl
parent 2b05227f4b
commit 1e9c86e158
7 changed files with 58 additions and 39 deletions
+1 -2
View File
@@ -23,12 +23,11 @@
namespace OCA\Deck\Db;
use OCP\IGroup;
use OCP\IUser;
class User extends RelationalObject {
public function __construct(IUser $user = null) {
public function __construct(IUser $user) {
$primaryKey = $user->getUID();
parent::__construct($primaryKey, $user);
}