function _quotes_recentquotes_access in Quotes 6
Same name and namespace in other branches
- 7 quotes.module \_quotes_recentquotes_access()
1 string reference to '_quotes_recentquotes_access'
- quotes_menu in ./
quotes.module - Implementation of hook_menu().
File
- ./
quotes.module, line 75 - 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 own posts.
return $user->uid && variable_get('quotes_user_recent', FALSE);
}