From 30fe751219cd087eabcd0c880015c2d71f8186e1 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Thu, 10 Nov 2011 07:06:54 -0500 Subject: removed flickr integration --- actions/admin/flickrSetup.php | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 actions/admin/flickrSetup.php (limited to 'actions/admin') diff --git a/actions/admin/flickrSetup.php b/actions/admin/flickrSetup.php deleted file mode 100644 index 1eaf9a037..000000000 --- a/actions/admin/flickrSetup.php +++ /dev/null @@ -1,36 +0,0 @@ -people_findByUsername( $flickr_username ); - if( !empty( $flickr_user["id"] )) { - create_metadata( $user->guid, "flickr_username", $flickr_username, "text", $user->guid, ACCESS_PUBLIC ); - create_metadata( $user->guid, "flickr_id", $flickr_user["id"], "text", $user->guid, ACCESS_PUBLIC ); - if( $album_id ) { - create_metadata( $user->guid, "flickr_album_id", $album_id, "text", $user->guid, ACCESS_PUBLIC ); - $album = get_entity( $album_id ); - } - - system_message( sprintf( elgg_echo( 'flickr:savedusername' ), $flickr_username )); - system_message( sprintf( elgg_echo( 'flickr:saveduserid' ), $flickr_user["id"] )); - system_message( sprintf( elgg_echo( 'flickr:savedalbum' ), $album->title )); - } else { - register_error( sprintf( elgg_echo( 'flickr:errorusername' ), $flickr_username )); - } -} - -forward($_SERVER['HTTP_REFERER']); -//echo "
"; var_dump( array($flickr_username, $return_url )); echo "
"; -- cgit v1.2.3