You are here

function instagram_feeds_get_existing_feeds in Instagram Feeds 7

Returns existing feeds urls objects.

Return value

array An associative array of existing feeds.

3 calls to instagram_feeds_get_existing_feeds()
instagram_feeds_batch_import in ./instagram_feeds.module
Batch API worker callback.
instagram_feeds_get_tasks in ./instagram_feeds.module
Creates tasks for instagram_feeds_cron() and for batch operations.
instagram_feeds_queue in ./instagram_feeds.module
Deletes old (not needed) Feeds URLs or create new needed Feeds URL (by cron).

File

./instagram_feeds.module, line 348

Code

function instagram_feeds_get_existing_feeds() {
  return db_select('feeds_source', 'f')
    ->fields('f')
    ->condition('f.id', INSTAGRAM_FEEDS_FEED_ID)
    ->execute()
    ->fetchAllAssoc('source');
}