From d59da8a7d86313eafc14b6dd62da1b761508fe5c Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 4 Sep 2010 15:09:08 +0000 Subject: [PATCH] Follow-up r72340. Remove functions defined twice. --- maintenance/tests/selenium/Selenium.php | 43 ------------------------- 1 file changed, 43 deletions(-) diff --git a/maintenance/tests/selenium/Selenium.php b/maintenance/tests/selenium/Selenium.php index 7594f1f2c1..d0521a00bb 100644 --- a/maintenance/tests/selenium/Selenium.php +++ b/maintenance/tests/selenium/Selenium.php @@ -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 -- 2.20.1