diff options
author | redmatrix <git@macgirvin.com> | 2016-06-28 13:36:48 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-06-28 13:36:48 -0700 |
commit | 7d62e087c65d964282171dd736e337cba135610f (patch) | |
tree | 68db35a16ec3a91b7533ced90233d015e848293d /Zotlabs/Lib/SuperCurl.php | |
parent | 7b2d54dffac5a5ee3c0ff79aee964ac0869b3142 (diff) | |
download | volse-hubzilla-7d62e087c65d964282171dd736e337cba135610f.tar.gz volse-hubzilla-7d62e087c65d964282171dd736e337cba135610f.tar.bz2 volse-hubzilla-7d62e087c65d964282171dd736e337cba135610f.zip |
identity_export_year() was a bit short-sighted. We really require arbitrary date ranges. A new function was created to tackle this - channel_export_items() which takes a channel, and a start and finish date. Finish date will default to "now" if not set. Will be working this into the interface under a module named "export_items" which will correspond closely to the existing "import_items" module you'll need to do the reverse operation. Will also make it available via the API. Once that is complete, I anticipate removing identity_export_year() as it will then be somewhat redundant, and modifying the documentation on the channel export page accordingly. Note: the function works strictly in GMT so an interface would need to convert from channel local time.
Diffstat (limited to 'Zotlabs/Lib/SuperCurl.php')
-rw-r--r-- | Zotlabs/Lib/SuperCurl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/SuperCurl.php b/Zotlabs/Lib/SuperCurl.php index fd47c399c..1c8583ff5 100644 --- a/Zotlabs/Lib/SuperCurl.php +++ b/Zotlabs/Lib/SuperCurl.php @@ -64,9 +64,9 @@ class SuperCurl { $this->auth = $v; break; case 'magicauth': + // currently experimental $this->magicauth = $v; \Zotlabs\Daemon\Master::Summon([ 'CurlAuth', $v ]); - sleep(2); break; case 'custom': $this->request_method = $v; |