_aggregator_has_categories()Find out whether there are any aggregator categories.
TRUE if there is at least one category and the user has access to them, FALSE otherwise.
modules/aggregator/aggregator.module, line 297
<?php
function _aggregator_has_categories() {
return user_access('access news feeds') && db_query('SELECT COUNT(*) FROM {aggregator_category}')->fetchField();
}
?>