Errors about vote methods when voting isn't enabled

Gary Feldman - July 22, 2009 - 15:28
Project:Dash Media Player
Version:6.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

According to the installation instructions, the Voting API is optional. However, I'm getting errors reported in my log saying Method vote.getVote and vote.getUserVote do not exist.

Presumably Dashplayer should be checking to see if the methods exist before calling them. I don't want the log filling up with messages telling me that a feature I don't need isn't there.

#1

travist - August 1, 2009 - 02:56
Status:active» by design

You need to just provide the votingenabled flag to false in the player. Like the following...

$params['votingenabled'] = 'false';

 
 

Drupal is a registered trademark of Dries Buytaert.