summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module22
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index af72d54f7..9ca7ff9af 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -20,28 +20,6 @@ function blog_node_info() {
}
/**
- * Implement hook_permission().
- */
-function blog_permission() {
- return node_list_permissions('blog');
-}
-
-/**
- * Implement hook_access().
- */
-function blog_access($op, $node, $account) {
- switch ($op) {
- case 'create':
- // Anonymous users cannot post even if they have the permission.
- return user_access('create blog content', $account) && $account->uid;
- case 'update':
- return user_access('edit any blog content', $account) || (user_access('edit own blog content', $account) && ($node->uid == $account->uid));
- case 'delete':
- return user_access('delete any blog content', $account) || (user_access('delete own blog content', $account) && ($node->uid == $account->uid));
- }
-}
-
-/**
* Implement hook_user_view().
*/
function blog_user_view($account) {