aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-15 19:15:47 -0400
committerAndrew Manning <tamanning@zoho.com>2016-06-15 19:15:47 -0400
commitf2dda646ecf1d11bf88c085d1174d3c147f799b1 (patch)
treec86f59fcca3a84413d77c325be433c4c5ea862e2 /include/channel.php
parent98484f0def82493ff9d45405dadefd141a1b32ba (diff)
parent47fc0c79588d55a207dc39ae8062ec55382e2564 (diff)
downloadvolse-hubzilla-f2dda646ecf1d11bf88c085d1174d3c147f799b1.tar.gz
volse-hubzilla-f2dda646ecf1d11bf88c085d1174d3c147f799b1.tar.bz2
volse-hubzilla-f2dda646ecf1d11bf88c085d1174d3c147f799b1.zip
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php21
1 files changed, 1 insertions, 20 deletions
diff --git a/include/channel.php b/include/channel.php
index 087bd4162..92c274105 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -16,7 +16,7 @@ require_once('include/menu.php');
* @param int $account_id
* Account_id used for this request
*
- * @returns assoziative array with:
+ * @returns associative array with:
* * \e boolean \b success boolean true if creating a new channel is allowed for this account
* * \e string \b message (optional) if success is false, optional error text
* * \e int \b total_identities
@@ -676,14 +676,6 @@ function identity_basic_export($channel_id, $items = false) {
$ret['mail'] = $m;
}
- $r = q("select item_id.*, item.mid from item_id left join item on item_id.iid = item.id where item_id.uid = %d",
- intval($channel_id)
- );
-
- if($r)
- $ret['item_id'] = $r;
-
- //$key = get_config('system','prvkey');
/** @warning this may run into memory limits on smaller systems */
@@ -746,17 +738,6 @@ function identity_export_year($channel_id,$year,$month = 0) {
$ret['item'][] = encode_item($rr,true);
}
- $r = q("select item_id.*, item.mid from item_id left join item on item_id.iid = item.id where item_id.uid = %d
- and item.created >= '%s' and item.created < '%s' order by created ",
- intval($channel_id),
- dbesc($mindate),
- dbesc($maxdate)
- );
-
- if($r)
- $ret['item_id'] = $r;
-
-
return $ret;
}