aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-04 18:11:47 -0800
committerfriendica <info@friendica.com>2015-03-04 18:11:47 -0800
commit1d5d80808ca1463e67f7586f8c804347f3dfb5f4 (patch)
treeb46f11bfb35eff12ce56ea732de294ef573311bc /include
parent011ccd57f62335c915b5ac75e20c45a36a64a888 (diff)
downloadvolse-hubzilla-1d5d80808ca1463e67f7586f8c804347f3dfb5f4.tar.gz
volse-hubzilla-1d5d80808ca1463e67f7586f8c804347f3dfb5f4.tar.bz2
volse-hubzilla-1d5d80808ca1463e67f7586f8c804347f3dfb5f4.zip
don't re-use $x
Diffstat (limited to 'include')
-rw-r--r--include/deliver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/deliver.php b/include/deliver.php
index 459c0f94b..95fb19a79 100644
--- a/include/deliver.php
+++ b/include/deliver.php
@@ -24,10 +24,10 @@ function deliver_run($argv, $argc) {
if($h) {
$base = $h['scheme'] . '://' . $h['host'] . (($h['port']) ? ':' . $h['port'] : '');
if($base !== z_root()) {
- $x = q("select site_update from site where site_url = '%s' ",
+ $y = q("select site_update from site where site_url = '%s' ",
dbesc($base)
);
- if($x && $x[0]['site_update'] < datetime_convert('UTC','UTC','now - 1 month')) {
+ if($y && $y[0]['site_update'] < datetime_convert('UTC','UTC','now - 1 month')) {
q("update outq set outq_priority = %d where outq_hash = '%s'",
intval($r[0]['outq_priority'] + 10)
dbesc($r[0]['outq_hash'])