This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  2e79dfde31888fe9b80277ff0a97c9a73cfad428 (commit)
      from  710769386ae3bf5a36b1179cdab3b64fd282addd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=2e79dfde31888fe9b80277ff0a97c9a73cfad428

commit 2e79dfde31888fe9b80277ff0a97c9a73cfad428
Author: Franck Villaume <[email protected]>
Date:   Mon Apr 8 12:25:28 2019 +0000

    fix typo in function name

diff --git a/src/common/include/MonitorElement.class.php 
b/src/common/include/MonitorElement.class.php
index 009942a..aa3567e 100644
--- a/src/common/include/MonitorElement.class.php
+++ b/src/common/include/MonitorElement.class.php
@@ -270,7 +270,7 @@ class MonitorElement extends FFError {
                return false;
        }
 
-       function getMonitedByUserIdInArray($who = 0) {
+       function getMonitoredByUserIdInArray($who = 0) {
                if ($who && isset($this->_getMonitoredByUserIdInArrayQuery)) {
                        $result = 
db_query_params($this->_getMonitoredByUserIdInArrayQuery, array($who));
                        if ($result || db_numrows($result) >= 0) {
diff --git a/src/common/widget/Widget_MyFollowers.class.php 
b/src/common/widget/Widget_MyFollowers.class.php
index 7a3d479..73df1eb 100644
--- a/src/common/widget/Widget_MyFollowers.class.php
+++ b/src/common/widget/Widget_MyFollowers.class.php
@@ -39,7 +39,7 @@ require_once $gfcommon.'include/MonitorElement.class.php';
        function getContent() {
                global $HTML;
                $monitorUser = new MonitorElement('user');
-               $monitoredUserIds = 
$monitorUser->getMonitedByUserIdInArray(user_getid());
+               $monitoredUserIds = 
$monitorUser->getMonitoredByUserIdInArray(user_getid());
                $followerIds = 
$monitorUser->getMonitorUsersIdsInArray(user_getid());
                if (!(is_array($monitoredUserIds) && count($monitoredUserIds) > 
0) && !(is_array($followerIds) && count($followerIds) > 0)) {
                        echo $HTML->warning_msg(_('You are not following any 
user and not followed by any.'));
diff --git a/src/www/forum/myforums.php b/src/www/forum/myforums.php
index 18d6fd1..ec00972 100644
--- a/src/www/forum/myforums.php
+++ b/src/www/forum/myforums.php
@@ -54,7 +54,7 @@ $MonitorElementObject = new MonitorElement('forum');
 if ($group_id) {
        $monitoredForumsIdsArray = 
$MonitorElementObject->getMonitoredIdsByGroupIdByUserIdInArray($group_id, 
$user_id);
 } else {
-       $monitoredForumsIdsArray = 
$MonitorElementObject->getMonitedByUserIdInArray($user_id);
+       $monitoredForumsIdsArray = 
$MonitorElementObject->getMonitoredByUserIdInArray($user_id);
 }
 if (!is_array($monitoredForumsIdsArray)) {
        echo $HTML->error_msg($MonitorElementObject->getErrorMessage());

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/MonitorElement.class.php    | 2 +-
 src/common/widget/Widget_MyFollowers.class.php | 2 +-
 src/www/forum/myforums.php                     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to