]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/commands/web/class_WebResendLinkCommand.php
User class renamed to Member and it's interface
[shipsimu.git] / inc / classes / main / commands / web / class_WebResendLinkCommand.php
index fda4669147c2e846a7262ffae0bf3d117da77c2c..3c69b344461c6e3900cdf58d663fd12ac7996db0 100644 (file)
@@ -64,16 +64,16 @@ class WebResendLinkCommand extends BaseCommand implements Commandable {
         * @param       $requestInstance        An instance of a class with an Requestable interface
         * @param       $responseInstance       An instance of a class with an Responseable interface
         * @return      void
-        * @throws      InvalidInterfaceException       If the user class does not implement ManageableUser
+        * @throws      InvalidInterfaceException       If the user class does not implement ManageableMember
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get user instance from registry
                $userInstance = Registry::getRegistry()->getInstance('user');
 
-               // Does the user instance implement ManageableUser?
-               if (!$userInstance instanceof ManageableUser) {
+               // Does the user instance implement ManageableMember?
+               if (!$userInstance instanceof ManageableMember) {
                        // Throw exception here
-                       throw new InvalidInterfaceException(array($userInstance, 'ManageableUser'), self::EXCEPTION_REQUIRED_INTERFACE_MISSING);
+                       throw new InvalidInterfaceException(array($userInstance, 'ManageableMember'), self::EXCEPTION_REQUIRED_INTERFACE_MISSING);
                } // END - if
 
                // Get an application instance