summaryrefslogtreecommitdiff
path: root/lib/helpers.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2019-10-19 21:15:48 +0100
committerAaron Parecki <aaron@parecki.com>2019-10-19 21:15:48 +0100
commitcbbf10c7f30dbf5e82e3cef71e3fc864aba5b851 (patch)
treeb7c7e164438d723be70544f18745a10fc58dc9d3 /lib/helpers.php
parentf0c5635c2f072448808f35990b7f8abd84b9607d (diff)
drop instagram stuff
Diffstat (limited to 'lib/helpers.php')
-rw-r--r--lib/helpers.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/helpers.php b/lib/helpers.php
index 57e3374..4d6ca3c 100644
--- a/lib/helpers.php
+++ b/lib/helpers.php
@@ -377,15 +377,6 @@ function relative_time($date) {
return $rel->timeAgo($date);
}
-function instagram_client() {
- return new Andreyco\Instagram\Client(array(
- 'apiKey' => Config::$instagramClientID,
- 'apiSecret' => Config::$instagramClientSecret,
- 'apiCallback' => Config::$base_url . 'auth/instagram/callback',
- 'scope' => array('basic','likes'),
- ));
-}
-
function validate_photo(&$file) {
try {