From 5723cd4b2ae1b216518da8da42ca78b3d0aef766 Mon Sep 17 00:00:00 2001 From: Ben Thomson Date: Thu, 5 Sep 2019 10:58:22 +0800 Subject: [PATCH] Match save method signature in Theme Export/Import --- modules/cms/models/ThemeExport.php | 2 +- modules/cms/models/ThemeImport.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/cms/models/ThemeExport.php b/modules/cms/models/ThemeExport.php index 6678e1a47..72b947557 100644 --- a/modules/cms/models/ThemeExport.php +++ b/modules/cms/models/ThemeExport.php @@ -59,7 +59,7 @@ class ThemeExport extends Model * * @return void */ - public function save() + public function save(array $options = null, $sessionKey = null) { throw new ApplicationException(sprintf("The % model is not intended to be saved, please use %s instead", get_class($this), 'ThemeData')); } diff --git a/modules/cms/models/ThemeImport.php b/modules/cms/models/ThemeImport.php index 396518a51..12bb509ba 100644 --- a/modules/cms/models/ThemeImport.php +++ b/modules/cms/models/ThemeImport.php @@ -64,7 +64,7 @@ class ThemeImport extends Model * * @return void */ - public function save() + public function save(array $options = null, $sessionKey = null) { throw new ApplicationException(sprintf("The % model is not intended to be saved, please use %s instead", get_class($this), 'ThemeData')); }