aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-09 12:42:14 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-09 12:42:14 +0200
commit6a13f983a4a65483f361a2e3e799199bdd9b3ae3 (patch)
tree36f64a32c241aa7c8d1e1fcffc2ffa8c9b7e19fa /phpBB
parentcccd54dde8d2f7733fb44ae6e47f4ec81fa96056 (diff)
downloadforums-6a13f983a4a65483f361a2e3e799199bdd9b3ae3.tar
forums-6a13f983a4a65483f361a2e3e799199bdd9b3ae3.tar.gz
forums-6a13f983a4a65483f361a2e3e799199bdd9b3ae3.tar.bz2
forums-6a13f983a4a65483f361a2e3e799199bdd9b3ae3.tar.xz
forums-6a13f983a4a65483f361a2e3e799199bdd9b3ae3.zip
[ticket/12742] Replace authenticated with authorised
PHPBB3-12742
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/notification/type/approve_post.php2
-rw-r--r--phpBB/phpbb/notification/type/approve_topic.php2
-rw-r--r--phpBB/phpbb/notification/type/base.php6
-rw-r--r--phpBB/phpbb/notification/type/bookmark.php2
-rw-r--r--phpBB/phpbb/notification/type/post.php2
-rw-r--r--phpBB/phpbb/notification/type/quote.php2
-rw-r--r--phpBB/phpbb/notification/type/topic.php2
7 files changed, 9 insertions, 9 deletions
diff --git a/phpBB/phpbb/notification/type/approve_post.php b/phpBB/phpbb/notification/type/approve_post.php
index 0e258f34f0..22c9076adc 100644
--- a/phpBB/phpbb/notification/type/approve_post.php
+++ b/phpBB/phpbb/notification/type/approve_post.php
@@ -81,7 +81,7 @@ class approve_post extends \phpbb\notification\type\post
$users = array();
$users[$post['poster_id']] = array('');
- return $this->get_authenticated_recipients(array_keys($users), $post['forum_id'], array_merge($options, array(
+ return $this->get_authorised_recipients(array_keys($users), $post['forum_id'], array_merge($options, array(
'item_type' => self::$notification_option['id'],
)));
}
diff --git a/phpBB/phpbb/notification/type/approve_topic.php b/phpBB/phpbb/notification/type/approve_topic.php
index 55f7b95b15..77e53a0064 100644
--- a/phpBB/phpbb/notification/type/approve_topic.php
+++ b/phpBB/phpbb/notification/type/approve_topic.php
@@ -81,7 +81,7 @@ class approve_topic extends \phpbb\notification\type\topic
$users = array();
$users[$post['poster_id']] = array('');
- return $this->get_authenticated_recipients(array_keys($users), $post['forum_id'], array_merge($options, array(
+ return $this->get_authorised_recipients(array_keys($users), $post['forum_id'], array_merge($options, array(
'item_type' => self::$notification_option['id'],
)));
}
diff --git a/phpBB/phpbb/notification/type/base.php b/phpBB/phpbb/notification/type/base.php
index 18204aaa03..48b368f7f9 100644
--- a/phpBB/phpbb/notification/type/base.php
+++ b/phpBB/phpbb/notification/type/base.php
@@ -535,14 +535,14 @@ abstract class base implements \phpbb\notification\type\type_interface
}
/**
- * Get a list of users that are authenticated to receive notifications
+ * Get a list of users that are authorised to receive notifications
*
* @param array $users Array of users that have subscribed to a notification
* @param int $forum_id Forum ID of the forum
* @param array $options Array of notification options
- * @return array Array of users that are authenticated recipients
+ * @return array Array of users that are authorised recipients
*/
- protected function get_authenticated_recipients($users, $forum_id, $options)
+ protected function get_authorised_recipients($users, $forum_id, $options)
{
if (empty($users))
{
diff --git a/phpBB/phpbb/notification/type/bookmark.php b/phpBB/phpbb/notification/type/bookmark.php
index bafdd6bb0c..d2e2700d2d 100644
--- a/phpBB/phpbb/notification/type/bookmark.php
+++ b/phpBB/phpbb/notification/type/bookmark.php
@@ -83,7 +83,7 @@ class bookmark extends \phpbb\notification\type\post
}
$this->db->sql_freeresult($result);
- $notify_users = $this->get_authenticated_recipients($users, $post['forum_id'], $options);
+ $notify_users = $this->get_authorised_recipients($users, $post['forum_id'], $options);
if (empty($notify_users))
{
diff --git a/phpBB/phpbb/notification/type/post.php b/phpBB/phpbb/notification/type/post.php
index e772b9aa7c..1bd95bfbf6 100644
--- a/phpBB/phpbb/notification/type/post.php
+++ b/phpBB/phpbb/notification/type/post.php
@@ -123,7 +123,7 @@ class post extends \phpbb\notification\type\base
}
$this->db->sql_freeresult($result);
- $notify_users = $this->get_authenticated_recipients($users, $post['forum_id'], $options);
+ $notify_users = $this->get_authorised_recipients($users, $post['forum_id'], $options);
if (empty($notify_users))
{
diff --git a/phpBB/phpbb/notification/type/quote.php b/phpBB/phpbb/notification/type/quote.php
index 89f185deda..42ec663bfc 100644
--- a/phpBB/phpbb/notification/type/quote.php
+++ b/phpBB/phpbb/notification/type/quote.php
@@ -102,7 +102,7 @@ class quote extends \phpbb\notification\type\post
}
$this->db->sql_freeresult($result);
- return $this->get_authenticated_recipients($users, $post['forum_id'], $options);
+ return $this->get_authorised_recipients($users, $post['forum_id'], $options);
}
/**
diff --git a/phpBB/phpbb/notification/type/topic.php b/phpBB/phpbb/notification/type/topic.php
index c74dd4aa4e..af199fb765 100644
--- a/phpBB/phpbb/notification/type/topic.php
+++ b/phpBB/phpbb/notification/type/topic.php
@@ -111,7 +111,7 @@ class topic extends \phpbb\notification\type\base
}
$this->db->sql_freeresult($result);
- return $this->get_authenticated_recipients($users, $topic['forum_id'], $options);
+ return $this->get_authorised_recipients($users, $topic['forum_id'], $options);
}
/**