Rename "save" to "createOrUpdate" for the dashlets
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user