Skip to content

Commit

Permalink
Fix class declarations for just-renamed files.
Browse files Browse the repository at this point in the history
  • Loading branch information
shadlaws committed Jun 13, 2013
1 parent 9801616 commit aae6f75
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Expand Up @@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Comment_Hook_Rest_Comment {
class Comment_Controller_Rest_Comment extends Controller_Rest {
static function get($request) {
$comment = Rest::resolve($request->url);
Access::required("view", $comment->item);
Expand Down
Expand Up @@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Comment_Hook_Rest_Comments {
class Comment_Controller_Rest_Comments extends Controller_Rest {
/**
* Possible request parameters:
* start=#
Expand Down
Expand Up @@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Comment_Hook_Rest_ItemComments {
class Comment_Controller_Rest_ItemComments extends Controller_Rest {
static function get($request) {
$item = Rest::resolve($request->url);
Access::required("view", $item);
Expand Down
2 changes: 1 addition & 1 deletion modules/comment/classes/Controller/Rest/Comment.php
@@ -1,3 +1,3 @@
<?php defined("SYSPATH") or die("No direct script access.");

class Hook_Rest_Comment extends Comment_Hook_Rest_Comment {}
class Controller_Rest_Comment extends Comment_Controller_Rest_Comment {}
2 changes: 1 addition & 1 deletion modules/comment/classes/Controller/Rest/Comments.php
@@ -1,3 +1,3 @@
<?php defined("SYSPATH") or die("No direct script access.");

class Hook_Rest_Comments extends Comment_Hook_Rest_Comments {}
class Controller_Rest_Comments extends Comment_Controller_Rest_Comments {}
2 changes: 1 addition & 1 deletion modules/comment/classes/Controller/Rest/ItemComments.php
@@ -1,3 +1,3 @@
<?php defined("SYSPATH") or die("No direct script access.");

class Hook_Rest_ItemComments extends Comment_Hook_Rest_ItemComments {}
class Controller_Rest_ItemComments extends Comment_Controller_Rest_ItemComments {}

0 comments on commit aae6f75

Please sign in to comment.