Skip to content

Commit

Permalink
making 5.4 compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
webtechnick committed Sep 19, 2013
1 parent f5ef3c1 commit 660f49c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Model/SeoUri.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ public function beforeSave($options = array()) {
* @param boolean $created
* @return boolean
*/
public function afterSave($created = false) {
public function afterSave($created, $options = array()) {
if ($created) {
//Maybe URI
}
if (isset($this->data[$this->alias]['is_approved']) && !$this->data[$this->alias]['is_approved']) {
//Email IT about needing approval... currently me.
$this->sendNotification();
}
return parent::afterSave($created);
return parent::afterSave($created, $options);
}

/**
Expand Down

0 comments on commit 660f49c

Please sign in to comment.