You are here

function _quotes_recentquotes_access in Quotes 7

Same name and namespace in other branches
  1. 6 quotes.module \_quotes_recentquotes_access()

Menu access callback.

1 string reference to '_quotes_recentquotes_access'
quotes_menu in ./quotes.module
Implements hook_menu().

File

./quotes.module, line 110
The quotes module allows users to maintain a list of quotes that can be displayed in any number of administrator-defined quote blocks.

Code

function _quotes_recentquotes_access() {
  global $user;

  // This path is only allowed for authenticated users looking at their quotes.
  return $user->uid && variable_get('quotes_user_recent', FALSE);
}