aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-19 11:22:46 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-25 11:52:29 +0200
commit7324cb051f4c655bd8027ab8078a1f5d42b60154 (patch)
treee948d07c1f246e0840f454e9fe643bac9da48be3 /phpBB/phpbb/notification
parent40d91a5d6ee26fceed430856532c6786f5dcf954 (diff)
downloadforums-7324cb051f4c655bd8027ab8078a1f5d42b60154.tar
forums-7324cb051f4c655bd8027ab8078a1f5d42b60154.tar.gz
forums-7324cb051f4c655bd8027ab8078a1f5d42b60154.tar.bz2
forums-7324cb051f4c655bd8027ab8078a1f5d42b60154.tar.xz
forums-7324cb051f4c655bd8027ab8078a1f5d42b60154.zip
[ticket/12371] Fix redirect link for approve_post and post_in_queue
PHPBB3-12371
Diffstat (limited to 'phpBB/phpbb/notification')
-rw-r--r--phpBB/phpbb/notification/type/approve_post.php8
-rw-r--r--phpBB/phpbb/notification/type/post_in_queue.php8
2 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/phpbb/notification/type/approve_post.php b/phpBB/phpbb/notification/type/approve_post.php
index e51ff12b3e..5912ad62b4 100644
--- a/phpBB/phpbb/notification/type/approve_post.php
+++ b/phpBB/phpbb/notification/type/approve_post.php
@@ -138,4 +138,12 @@ class approve_post extends \phpbb\notification\type\post
{
return 'post_approved';
}
+
+ /**
+ * {inheritDoc}
+ */
+ public function get_redirect_url()
+ {
+ return $this->get_url();
+ }
}
diff --git a/phpBB/phpbb/notification/type/post_in_queue.php b/phpBB/phpbb/notification/type/post_in_queue.php
index db16763583..56dfcce588 100644
--- a/phpBB/phpbb/notification/type/post_in_queue.php
+++ b/phpBB/phpbb/notification/type/post_in_queue.php
@@ -119,6 +119,14 @@ class post_in_queue extends \phpbb\notification\type\post
}
/**
+ * {inheritDoc}
+ */
+ public function get_redirect_url()
+ {
+ return parent::get_url();
+ }
+
+ /**
* Function for preparing the data for insertion in an SQL query
* (The service handles insertion)
*