projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes non-referenced use of User, which would have led to a performance impact.
[platal.git]
/
include
/
validations
/
photos.inc.php
diff --git
a/include/validations/photos.inc.php
b/include/validations/photos.inc.php
index
93b0ec9
..
f65b06c
100644
(file)
--- a/
include/validations/photos.inc.php
+++ b/
include/validations/photos.inc.php
@@
-43,7
+43,7
@@
class PhotoReq extends Validate
// }}}
// {{{ constructor
- public function __construct(User $_user, PlUpload &$upload, $_stamp=0)
+ public function __construct(User
&
$_user, PlUpload &$upload, $_stamp=0)
{
parent::__construct($_user, true, 'photo', $_stamp);
$this->read($upload);