function _quotes_myquotes_access in Quotes 6
Same name and namespace in other branches
- 7 quotes.module \_quotes_myquotes_access()
1 string reference to '_quotes_myquotes_access'
- quotes_menu in ./
quotes.module - Implementation of hook_menu().
File
- ./
quotes.module, line 69 - 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_myquotes_access() {
global $user;
// This path is only allowed for authenticated users looking at their own posts.
return $user->uid && variable_get('quotes_show_myquotes', TRUE);
}