summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-06-14 23:24:55 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-06-14 23:24:55 +0200
commit401bffb0ba1280a59910d9e89adab4676e17b647 (patch)
tree647337b2650dbf6913a63cfca4cbf9248d75ff2b
parentf97dcdd539407d5987236bdffacc093cc790d373 (diff)
Remove useless code.
-rw-r--r--routers/router.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/routers/router.php b/routers/router.php
index 8eaa2ef..1c8441a 100644
--- a/routers/router.php
+++ b/routers/router.php
@@ -34,10 +34,6 @@ abstract class Router {
$this->config = $config;
$this->id = $id;
$this->requester = $requester;
-
- if (isset($config['routers'][$id]['port'])) {
- $this->port = (int) $config['routers'][$id]['port'];
- }
}
protected abstract function build_commands($command, $parameters);