resourceloader: Remove unused Module::setOrigin() method
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 10 May 2016 18:13:29 +0000 (19:13 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 10 May 2016 18:13:33 +0000 (19:13 +0100)
Follows-up da36f65433d which added this method with intent to use in
ResourceLoader::register(). However, the feature was redesigned to
not need this and the method was left behind.

Change-Id: I5ebc93805d0df6605bec94094bcd4eb2b70ff18d

includes/resourceloader/ResourceLoaderModule.php

index 13f13e6..121a6c9 100644 (file)
@@ -114,16 +114,6 @@ abstract class ResourceLoaderModule implements LoggerAwareInterface {
                return $this->origin;
        }
 
-       /**
-        * Set this module's origin. This is called by ResourceLoader::register()
-        * when registering the module. Other code should not call this.
-        *
-        * @param int $origin Origin
-        */
-       public function setOrigin( $origin ) {
-               $this->origin = $origin;
-       }
-
        /**
         * @param ResourceLoaderContext $context
         * @return bool