| @@ -1,10 +1,7 @@ | ||
| 1 | 1 | <?php if (! defined('ABSPATH')) exit; // Exit if accessed directly |
| 2 | -if (!defined('HC3_VERSION')) { | |
| 3 | - define( 'HC3_VERSION', 103 ); | |
| 4 | -} | |
| 2 | +define( 'HC3_VERSION', 103 ); | |
| 5 | 3 | |
| 6 | -if (!class_exists('HC3_Abstract_Plugin')) { | |
| 7 | 4 | abstract class HC3_Abstract_Plugin |
| 8 | 5 | { |
| 9 | 6 | public static $instance; |
| 10 | 7 | |
| @@ -364,11 +361,8 @@ | ||
| 364 | 361 | |
| 365 | 362 | $request->setRealSlug( $slug ); |
| 366 | 363 | |
| 367 | 364 | $slug = $requestMethod . ':' . $slug; |
| 368 | - if( 'get:myschedule/dates' == $slug ){ | |
| 369 | - $slug = 'post:myschedule/dates'; | |
| 370 | - } | |
| 371 | 365 | |
| 372 | 366 | // first acl |
| 373 | 367 | $acl = $root->make('HC3_Acl'); |
| 374 | 368 | if( ! $acl->check($slug, $requestParams) ){ |
| @@ -722,9 +716,8 @@ | ||
| 722 | 716 | public function root() |
| 723 | 717 | { |
| 724 | 718 | return $this->dic; |
| 725 | 719 | } |
| 726 | -} | |
| 727 | 720 | } |
| 728 | 721 | |
| 729 | 722 | if( ! function_exists('_print_r') ){ |
| 730 | 723 | function _print_r( $thing ) |