Skip to content

Commit

Permalink
Do not extend newly removed class
Browse files Browse the repository at this point in the history
  • Loading branch information
franzliedke committed Sep 9, 2015
1 parent b3aee70 commit ee4f6b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Api/OrderAction.php
Expand Up @@ -10,15 +10,15 @@

namespace Flarum\Tags\Api;

use Flarum\Api\Actions\JsonApiAction;
use Flarum\Api\Actions\Action;
use Flarum\Api\Request;
use Zend\Diactoros\Response\EmptyResponse;
use Flarum\Tags\Tag;
use Flarum\Core\Exceptions\PermissionDeniedException;

class OrderAction extends JsonApiAction
class OrderAction implements Action
{
protected function respond(Request $request)
public function handle(Request $request)
{
if (! $request->actor->isAdmin()) {
throw new PermissionDeniedException;
Expand Down

0 comments on commit ee4f6b8

Please sign in to comment.