Explorar o código

unneeded variable defined

Peter Kokot %!s(int64=13) %!d(string=hai) anos
pai
achega
8506d898e1
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      Controller/CRUDController.php

+ 0 - 3
Controller/CRUDController.php

@@ -443,9 +443,6 @@ class CRUDController extends Controller
 
         $this->admin->setSubject($object);
 
-        // build the show list
-        $elements = $this->admin->getShow();
-
         return $this->render($this->admin->getShowTemplate(), array(
             'action'   => 'show',
             'object'   => $object,