Skip to content

Commit

Permalink
Couple of formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sherakama committed Sep 8, 2016
1 parent 5ce815c commit edda64a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions includes/CAPx/Drupal/Util/CAPx.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,26 +364,25 @@ public static function invalidateEtags($type, $object) {
->execute();

}

/**
* Clears the stanford_capx_profiles queue.
*
* If you need to clear the queue because of config changes, this is your method.
*
*/
public static function clearTheQueue() {
$queue = \DrupalQueue::get('stanford_capx_profiles', TRUE);
$queue->deleteQueue();
}

/**
* Invalidates profile photo timestamp by importer.
*
* When a mapper changes we need to invalidate the timestamp on the
* profile photos associated with it.
*
* @param object $object
* importers acquired using CAPxImporter::loadImportersByMapper($mapper);
* @param object $importers
* Importers acquired using CAPxImporter::loadImportersByMapper($mapper);
*/
public static function invalidateTimestamp($importers) {
$importer_machine_names = array();
Expand Down

0 comments on commit edda64a

Please sign in to comment.