aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-08-09 08:18:27 +0000
committerMario <mario@mariovavti.com>2023-08-27 19:55:49 +0200
commit4e2ae9cd4e3137f3a264c0345692708c00d2eb45 (patch)
tree305dde562dbc8e20d9d34eb796ce2c780a7ebb89 /Zotlabs
parent4167ca2e5ca28be3f5e2b611322744626dc23b87 (diff)
downloadvolse-hubzilla-4e2ae9cd4e3137f3a264c0345692708c00d2eb45.tar.gz
volse-hubzilla-4e2ae9cd4e3137f3a264c0345692708c00d2eb45.tar.bz2
volse-hubzilla-4e2ae9cd4e3137f3a264c0345692708c00d2eb45.zip
remove unused variable
(cherry picked from commit 0ec715d7c9d4bdce71210f9d025cf8ac0c02160d)
Diffstat (limited to 'Zotlabs')
-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']),