Refactor controller add feed

This commit is contained in:
Alexandre Alapetite
2016-09-24 23:29:49 +02:00
parent 0a79d4085b
commit 324c83348c
4 changed files with 105 additions and 108 deletions

View File

@@ -0,0 +1,14 @@
<?php
class FreshRSS_FeedNotAdded_Exception extends Exception {
private $feedName = '';
public function __construct($url, $feedName) {
parent::__construct('Feed not added! ' . $url, 2147);
$this->$feedName = $feedName;
}
public function feedName() {
return $this->feedName();
}
}