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

@@ -13,7 +13,7 @@
class RemoveImageHashBanEvent extends Event {
var $hash;
public function RemoveImageHashBanEvent($hash) {
public function __construct($hash) {
$this->hash = $hash;
}
}
@@ -23,7 +23,7 @@ class AddImageHashBanEvent extends Event {
var $hash;
var $reason;
public function AddImageHashBanEvent($hash, $reason) {
public function __construct($hash, $reason) {
$this->hash = $hash;
$this->reason = $reason;
}