projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d7d949
)
Removed obsolete references
author
Marcel Werk
<burntime@woltlab.com>
Thu, 16 Jun 2016 16:14:38 +0000
(18:14 +0200)
committer
Marcel Werk
<burntime@woltlab.com>
Thu, 16 Jun 2016 16:15:15 +0000
(18:15 +0200)
wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueueList.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php
b/wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php
index 0edeee1ba8381f577aa6605ac488dde253daece2..b7127f2a5c3e4dd3975a1119aa3a95e2afca9fb6 100644
(file)
--- a/
wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php
+++ b/
wcfsetup/install/files/lib/data/like/ViewableLikeList.class.php
@@
-46,7
+46,7
@@
class ViewableLikeList extends LikeList {
$userIDs = [];
$likeGroups = [];
- foreach ($this->objects as
&
$like) {
+ foreach ($this->objects as $like) {
$userIDs[] = $like->userID;
if (!isset($likeGroups[$like->objectTypeID])) {
@@
-59,7
+59,6
@@
class ViewableLikeList extends LikeList {
$likeGroups[$like->objectTypeID]['objects'][] = $like;
}
- unset($like);
// set user profiles
if (!empty($userIDs)) {
diff --git
a/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueueList.class.php
b/wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueueList.class.php
index 09876bbbeb34c8db30227ba3aee3f6ff239ac9dc..ae217b7ac0909a2306607bcb0f53004962a62861 100644
(file)
--- a/
wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueueList.class.php
+++ b/
wcfsetup/install/files/lib/data/moderation/queue/ViewableModerationQueueList.class.php
@@
-62,7
+62,7
@@
class ViewableModerationQueueList extends ModerationQueueList {
if (!empty($this->objects)) {
$objects = [];
- foreach ($this->objects as
&
$object) {
+ foreach ($this->objects as $object) {
if (!isset($objects[$object->objectTypeID])) {
$objects[$object->objectTypeID] = [];
}