From 0b7ae81a4a83810f5bd80c9b8d24dd9c7fb4b5f8 Mon Sep 17 00:00:00 2001
From: "Matias E. Fernandez" <mfernandez@pisco.ch>
Date: Fri, 30 Mar 2012 17:42:47 +0200
Subject: [PATCH] Issue #1509752: remove votingapi_views_handlers

---
 views/votingapi.views.inc |   25 +------------------------
 1 file changed, 1 insertion(+), 24 deletions(-)

diff --git a/views/votingapi.views.inc b/views/votingapi.views.inc
index 859e018..69da537 100644
--- a/views/votingapi.views.inc
+++ b/views/votingapi.views.inc
@@ -13,29 +13,6 @@
 
 
 /**
- * Implementation of hook_views_handlers().
- */
-function votingapi_views_handlers() {
-  return array(
-    'handlers' => array(
-      'votingapi_views_handler_field_value' => array(
-        'parent' => 'views_handler_field_numeric',
-        'path' => drupal_get_path('module', 'votingapi') . '/views',
-      ),
-      'votingapi_views_handler_relationship' => array(
-        'parent' => 'views_handler_relationship',
-        'path' => drupal_get_path('module', 'votingapi') . '/views',
-      ),
-      'votingapi_views_handler_sort_nullable' => array(
-        'parent' => 'views_handler_sort',
-        'path' => drupal_get_path('module', 'votingapi') . '/views',
-      ),
-    ),
-  );
-}
-
-
-/**
  * Implementation of hook_views_data().
  */
 function votingapi_views_data() {
@@ -296,7 +273,7 @@ function votingapi_views_data_alter(&$views_data) {
     $pseudo = str_replace(array(' ','-','.'), '_', $data['entity_type'] . '_' . $data['entity_id_column']);
     $pseudo_vote = empty($data['pseudo_vote']) ? 'vapi_'. $pseudo : $data['pseudo_vote'];
     $pseudo_cache = empty($data['pseudo_cache']) ? 'vapic_'. $pseudo : $data['pseudo_cache'];
-    
+
     $views_data[$data['base_table']][$pseudo_vote]['relationship'] = array(
       'title' => 'Votes',
       'help' => 'Votes cast by users on ' . $data['description'] . '.',
-- 
1.7.9.4

