Continued:
[core.git] / framework / main / classes / resolver / command / image / class_ImageCommandResolver.php
index 9e642c38979840d6229c4569af38c2295c1b05f6..6b1b449b67ddd35a6efa70be0e41e0bfd9372d89 100644 (file)
@@ -54,12 +54,11 @@ class ImageCommandResolver extends BaseCommandResolver implements CommandResolve
         * Creates an instance of a Image command resolver with a given default command
         *
         * @param       $commandName                            The default command we shall execute
-        * @param       $applicationInstance            An instance of a manageable application helper class
         * @return      $resolverInstance                       The prepared command resolver instance
         * @throws      InvalidArgumentException                Thrown if default command is not set
         * @throws      InvalidCommandException         Thrown if default command is invalid
         */
-       public static final function createImageCommandResolver ($commandName, ManageableApplication $applicationInstance) {
+       public static final function createImageCommandResolver ($commandName) {
                // Create the new instance
                $resolverInstance = new ImageCommandResolver();
 
@@ -72,9 +71,6 @@ class ImageCommandResolver extends BaseCommandResolver implements CommandResolve
                        throw new InvalidCommandException(array($resolverInstance, $commandName), self::EXCEPTION_INVALID_COMMAND);
                }
 
-               // Set the application instance
-               $resolverInstance->setApplicationInstance($applicationInstance);
-
                // Return the prepared instance
                return $resolverInstance;
        }