aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-08-09 08:18:27 +0000
committerMario <mario@mariovavti.com>2023-08-09 08:18:27 +0000
commit0ec715d7c9d4bdce71210f9d025cf8ac0c02160d (patch)
tree28ce55879e27eebd275ff6449c410a457d3e6d23
parente6a261a7897eb2ab07d592649306729e65d87ade (diff)
downloadvolse-hubzilla-0ec715d7c9d4bdce71210f9d025cf8ac0c02160d.tar.gz
volse-hubzilla-0ec715d7c9d4bdce71210f9d025cf8ac0c02160d.tar.bz2
volse-hubzilla-0ec715d7c9d4bdce71210f9d025cf8ac0c02160d.zip
remove unused variable
-rw-r--r--Zotlabs/Module/Sse_bs.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php
index a3a3afd23..fdaab4ab8 100644
--- a/Zotlabs/Module/Sse_bs.php
+++ b/Zotlabs/Module/Sse_bs.php
@@ -213,7 +213,6 @@ class Sse_bs extends Controller {
AND obj_type NOT IN ('Document', 'Video', 'Audio', 'Image')
AND author_xchan != '%s'
$item_normal
- $approvals
$sql_extra LIMIT 100",
intval(self::$uid),
dbesc(self::$ob_hash)
@@ -295,7 +294,6 @@ class Sse_bs extends Controller {
$r = q("SELECT id FROM item
WHERE uid = %d and item_unseen = 1 AND item_private = 2
$item_normal
- $approvals
$sql_extra
AND author_xchan != '%s' LIMIT 100",
intval(self::$uid),
@@ -352,7 +350,6 @@ class Sse_bs extends Controller {
AND obj_type NOT IN ('Document', 'Video', 'Audio', 'Image')
AND author_xchan != '%s'
$item_normal
- $approvals
$sql_extra
$sql_extra2
ORDER BY created DESC LIMIT $limit OFFSET $offset",
@@ -380,7 +377,6 @@ class Sse_bs extends Controller {
$r = q("SELECT id FROM item
WHERE uid = %d and item_unseen = 1 AND item_wall = 1 AND item_private IN (0, 1)
$item_normal
- $approvals
$sql_extra
AND author_xchan != '%s' LIMIT 100",
intval(self::$uid),
@@ -454,7 +450,6 @@ class Sse_bs extends Controller {
AND author_xchan != '%s'
AND created > '%s'
$item_normal
- $approvals
$sql_extra
$sql_extra2
ORDER BY created DESC LIMIT $limit OFFSET $offset",
@@ -482,7 +477,6 @@ class Sse_bs extends Controller {
WHERE true $uids
AND created > '%s'
$item_normal
- $approvals
$sql_extra
AND author_xchan != '%s' LIMIT 100",
dbescdate($_SESSION['static_loadtime']),