projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prevents a file_get_contents warning when retrieving sql errors.
[platal.git]
/
classes
/
pluser.php
diff --git
a/classes/pluser.php
b/classes/pluser.php
index
4cd8edc
..
746f77b
100644
(file)
--- a/
classes/pluser.php
+++ b/
classes/pluser.php
@@
-151,11
+151,6
@@
abstract class PlUser
return $this->full_name;
}
return $this->full_name;
}
- public function promo()
- {
- return $this->promo;
- }
-
abstract public function password();
// Fallback value is GENDER_MALE.
abstract public function password();
// Fallback value is GENDER_MALE.
@@
-293,7
+288,7
@@
abstract class PlUser
public static function getSilentWithUID($uid)
{
public static function getSilentWithUID($uid)
{
- return User::getWithValues(
$uid
, array('User', '_silent_user_callback'));
+ return User::getWithValues(
null, array('user_id' => $uid)
, array('User', '_silent_user_callback'));
}
/**
}
/**