using static instead of self

renaming `internalCreateOrUpdate` to `_createOrUpdate`
renaming `$conditions` to `$keys`
adding block comment for `_createOrUpdate` method.
This commit is contained in:
Amine Ben hammou
2018-02-11 21:04:56 +00:00
parent 91622f8cd9
commit b076e03a75
11 changed files with 30 additions and 26 deletions

View File

@@ -24,8 +24,5 @@ class NewsletterTemplate extends Model {
}
return $template;
}
static function createOrUpdate($data = array()) {
return parent::internalCreateOrUpdate($data);
}
}