summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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 {