Follow-up r72340. Remove functions defined twice.
authorPlatonides <platonides@users.mediawiki.org>
Sat, 4 Sep 2010 15:09:08 +0000 (15:09 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 4 Sep 2010 15:09:08 +0000 (15:09 +0000)
maintenance/tests/selenium/Selenium.php

index 7594f1f..d0521a0 100644 (file)
@@ -155,49 +155,6 @@ class Selenium {
                return $t;
        }
 
-       public function setUrl( $url ) {
-               self::$url = $url;
-       }
-
-       static public function getUrl() {
-               return self::$url;
-       }
-
-       public function setPort( $port ) {
-               $this->port = $port;
-       }
-
-       public function setUser( $user ) {
-               $this->user = $user;
-       }
-
-       public function setPass( $pass ) {
-               $this->pass = $pass;
-       }
-
-       public function setHost( $host ) {
-               $this->host = $host;
-       }
-
-       public function setVerbose( $verbose ) {
-               $this->verbose = $verbose;
-       }
-
-       public function setBrowser( $b ) {
-               $browsers = $this->setupBrowsers();
-
-               if ( !isset( $browsers[$b] ) ) {
-                       throw new MWException( "Invalid Browser: $b.\n" );
-               }
-
-               $this->browser = $browsers[$b];
-       }
-
-       public function __call( $name, $args ) {
-               $t = call_user_func_array( array( $this->tester, $name ), $args );
-               return $t;
-       }
-
        // Prevent external cloning
        protected function __clone() { }
        // Prevent external construction