Closed (fixed)
Project:
Rules link event
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2012 at 02:59 UTC
Updated:
16 Aug 2013 at 19:11 UTC
rules_linkevent.install actually contains the schema for rules_link and causes a conflict if you have both installed.
<?php
/**
* @file
* Install, update and uninstall functions for the rules_link module.
*/
/**
* Implements hook_schema().
*/
function rules_link_schema() {
$schema['rules_linkevent'] = array(
'description' => 'Stores rules links.',
'fields' => array(
'id' => array(
'type' => 'serial',
'not null' => TRUE,
'description' => 'Unique ID for the links.',
..
Comments
Comment #1
jason.fisher commentedSorry, I don't mean to say that it has the schema -- just that the function name declaration should be rules_linkevent_schema.
Comment #2
aidanlis commentedOoops, thanks.
Comment #3
ishmael-sanchez commentedChanging the function name as recommended in #1 fixed it for me.
Comment #4
jahukka commentedInstalled the module and now the site is down and says that the page is not found no matter what page. Can not uninstall the module (not tried via database though).
Comment #5
deggertsen commentedCommitted change to name of function rules_link_schema() to rules_linkevent_schema().