Rename "save" to "createOrUpdate" for the dashlets

This commit is contained in:
Julio Cesar Laura
2011-10-31 17:13:05 -04:00
parent 3f91088160
commit c7c56b4e60
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ class PMDashlet extends DashletInstance implements DashletInterface {
public function saveDashletInstance($data) {
try {
$this->dashletObject->save($data);
$this->dashletObject->createOrUpdate($data);
}
catch (Exception $error) {
throw $error;