projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Happy New Year !
[platal.git]
/
include
/
validations
/
photos.inc.php
diff --git
a/include/validations/photos.inc.php
b/include/validations/photos.inc.php
index
897a077
..
87d6c86
100644
(file)
--- a/
include/validations/photos.inc.php
+++ b/
include/validations/photos.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
1
Polytechnique.org *
+ * Copyright (C) 2003-201
3
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-43,7
+43,7
@@
class PhotoReq extends ProfileValidate
// }}}
// {{{ constructor
// }}}
// {{{ constructor
- public function __construct(User
&$_user, Profile &$_profile, PlUpload &
$upload, $_stamp = 0)
+ public function __construct(User
$_user, Profile $_profile, PlUpload
$upload, $_stamp = 0)
{
parent::__construct($_user, $_profile, true, 'photo', $_stamp);
$this->read($upload);
{
parent::__construct($_user, $_profile, true, 'photo', $_stamp);
$this->read($upload);
@@
-52,7
+52,7
@@
class PhotoReq extends ProfileValidate
// }}}
// {{{ function read
// }}}
// {{{ function read
- private function read(PlUpload
&
$upload)
+ private function read(PlUpload $upload)
{
$this->valid = $upload->resizeImage(240, 300, 160, 0, SIZE_MAX);
if (!$this->valid) {
{
$this->valid = $upload->resizeImage(240, 300, 160, 0, SIZE_MAX);
if (!$this->valid) {