aboutsummaryrefslogtreecommitdiff
path: root/app/Exceptions/FeedNotAddedException.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Exceptions/FeedNotAddedException.php')
-rw-r--r--app/Exceptions/FeedNotAddedException.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Exceptions/FeedNotAddedException.php b/app/Exceptions/FeedNotAddedException.php
index 350a17c56..59fa74b16 100644
--- a/app/Exceptions/FeedNotAddedException.php
+++ b/app/Exceptions/FeedNotAddedException.php
@@ -1,14 +1,14 @@
<?php
class FreshRSS_FeedNotAdded_Exception extends Exception {
- private $feedName = '';
+ private $url = '';
- public function __construct($url, $feedName) {
+ public function __construct($url) {
parent::__construct('Feed not added! ' . $url, 2147);
- $this->feedName = $feedName;
+ $this->url = $url;
}
- public function feedName() {
- return $this->feedName;
+ public function url() {
+ return $this->url;
}
}