From 365d85de7be58d3a5641ac053188ec44120e1530 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sat, 7 Nov 2009 10:51:08 -0500 Subject: [PATCH] remove more partials stuff --- classes/ComicPressAdmin.inc | 11 ----------- phpunit.xml | 2 ++ test/bootstrap.php | 5 +++++ 3 files changed, 7 insertions(+), 11 deletions(-) create mode 100644 phpunit.xml create mode 100644 test/bootstrap.php 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