コード例 #1
0
ファイル: Oauth.php プロジェクト: lesleyauk/findsorguk
 /** Delete all the expired tokens
  *
  */
 private function cleanUp()
 {
     $tokens = new OauthTokens();
     $where = array();
     $where[] = $tokens->getAdapter()->quoteInto('service = ?', 'yahooAccess');
     $where[] = $tokens->getAdapter()->quoteInto('expires <= ?', $this->_now);
     $tokens->delete($where);
 }