Small fix
authorKiv4h <jeffrey.reichardt@googlemail.com>
Fri, 1 Jun 2012 20:54:06 +0000 (22:54 +0200)
committerKiv4h <jeffrey.reichardt@googlemail.com>
Fri, 1 Jun 2012 20:54:06 +0000 (22:54 +0200)
wcfsetup/install/files/lib/action/APIAction.class.php

index e8b3707aa1813002679127e45ce7c49bed434fc3..711ac7ce2a1a744d2a6b4069d54c82bf296f2722 100644 (file)
@@ -1,6 +1,5 @@
 <?php
 namespace wcf\action;
-use wcf\data\DatabaseObject;
 use wcf\system\api\rest\response\IRESTfulResponse;
 use wcf\system\exception\AJAXException;
 use wcf\system\exception\IllegalLinkException;
@@ -79,7 +78,7 @@ final class APIAction extends AbstractAjaxAction {
         *
         * @return array
         */
-       protected function prune(DatabaseObject $object) {
+       protected function prune(IRESTfulResponse $object) {
                $prunedArray = array();
        
                foreach($object->getResponseFields() as $fieldName) {