diff --git a/classes/ComicPressAdmin.inc b/classes/ComicPressAdmin.inc index 5dc12aa..35a773a 100644 --- a/classes/ComicPressAdmin.inc +++ b/classes/ComicPressAdmin.inc @@ -378,17 +378,6 @@ class ComicPressAdmin { } } - function handle_update_override_partial($info) { - switch ($info['action']) { - case __('Update partial', 'comicpress'): - $this->comicpress->comicpress_options['override_partials'][$info['partial']] = stripslashes($info['code']); - break; - case __('Delete override partial', 'comicpress'): - unset($this->comicpress->comicpress_options['override_partials'][$info['partial']]); - break; - } - } - function handle_update_zoom_slider($info) { $this->is_ajax = true; diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..11fbdd5 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/test/bootstrap.php b/test/bootstrap.php new file mode 100644 index 0000000..f31480b --- /dev/null +++ b/test/bootstrap.php @@ -0,0 +1,5 @@ + \ No newline at end of file