remove more partials stuff

This commit is contained in:
John Bintz 2009-11-07 10:51:08 -05:00
parent d94905eaa6
commit 365d85de7b
3 changed files with 7 additions and 11 deletions

View File

@ -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) { function handle_update_zoom_slider($info) {
$this->is_ajax = true; $this->is_ajax = true;

2
phpunit.xml Normal file
View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" bootstrap="test/bootstrap.php" />

5
test/bootstrap.php Normal file
View File

@ -0,0 +1,5 @@
<?php
set_include_path(realpath(dirname(__FILE__) . '/../classes') . PATH_SEPARATOR . get_include_path());
?>