aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-31 20:15:47 -0700
committerredmatrix <git@macgirvin.com>2016-03-31 20:15:47 -0700
commit0cda43145629586e6110e83fa2356e1c4ee4811a (patch)
treecd971890c1731062fe2168959b29f85e9e070346 /include/items.php
parentbbfe4de3107a1eb8293f4ee6b620f7e27bf26dbf (diff)
downloadvolse-hubzilla-0cda43145629586e6110e83fa2356e1c4ee4811a.tar.gz
volse-hubzilla-0cda43145629586e6110e83fa2356e1c4ee4811a.tar.bz2
volse-hubzilla-0cda43145629586e6110e83fa2356e1c4ee4811a.zip
create miniApp to convert existing settings files to the static App class
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/items.php b/include/items.php
index 09479e428..07cf2e0e8 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4294,7 +4294,6 @@ function atom_entry($item,$type,$author,$owner,$comment = false,$cid = 0) {
}
function fix_private_photos($s, $uid, $item = null, $cid = 0) {
- $a = get_app();
logger('fix_private_photos', LOGGER_DEBUG);
$site = substr(z_root(),strpos(z_root(),'://'));
@@ -4577,8 +4576,6 @@ function drop_items($items) {
function drop_item($id,$interactive = true,$stage = DROPITEM_NORMAL,$force = false) {
- $a = get_app();
-
// locate item to be deleted
$r = q("SELECT * FROM item WHERE id = %d LIMIT 1",
@@ -5077,8 +5074,6 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C
$result = array('success' => false);
- $a = get_app();
-
$sql_extra = '';
$sql_nets = '';
$sql_options = '';