projects
/
project/fivestar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2d25d76
)
#1239124 by ericduran: Fixed Call to undefined function fivestar_get_suffix().
author
Eric J. Duran
Sun, 7 Aug 2011 16:14:29 +0000 (12:14 -0400)
committer
Eric J. Duran
Sun, 7 Aug 2011 16:14:29 +0000 (12:14 -0400)
fivestar.module
patch
|
blob
|
blame
|
history
diff --git
a/fivestar.module
b/fivestar.module
index
d22a711
..
8f84245
100644
(file)
--- a/
fivestar.module
+++ b/
fivestar.module
@@
-395,14
+395,6
@@
function fivestar_fivestar_access($entity_type, $id, $tag, $uid) {
}
}
}
-
- // Also perform a check to see if fivestar voting has been abled on this
- // node content type.
- if ($entity_type == 'node' && $node = node_load($id)) {
- if (variable_get('fivestar_'. fivestar_get_suffix($node->type, $tag), 0)) {
- return TRUE;
- }
- }
}
/**