use new-style constructors everywhere

This commit is contained in:
Shish
2014-03-22 09:00:59 +00:00
parent da29912646
commit 7b68d8ebfd
22 changed files with 38 additions and 38 deletions

View File

@@ -12,7 +12,7 @@
class RemoveReportedImageEvent extends Event {
var $id;
public function RemoveReportedImageEvent($id) {
public function __construct($id) {
$this->id = $id;
}
}
@@ -22,7 +22,7 @@ class AddReportedImageEvent extends Event {
var $image_id;
var $reason;
public function AddReportedImageEvent($image_id, $reporter_id, $reason) {
public function __construct($image_id, $reporter_id, $reason) {
$this->reporter_id = $reporter_id;
$this->image_id = $image_id;
$this->reason = $reason;