// Set the defaults. Not all modules implement the full api
if (!isset($info->path)) {
$info->path = drupal_get_path('module', $module);
}
elseif (file_exists('./'. $info->path .'/'. $module .'.activity.inc')) {
require_once './'. $info->path .'/'. $module .'.activity.inc';
}
Probably should be
// Set the defaults. Not all modules implement the full api
if (!isset($info->path)) {
$info->path = drupal_get_path('module', $module);
}
// Include the activity file.
if (file_exists('./'. $info->path .'/'. $module .'.activity.inc')) {
require_once './'. $info->path .'/'. $module .'.activity.inc';
}
Comments
Comment #1
ajayg commentedThis may be partially working. It definitely closed the error mentioned in Activity2 and UR integration but still access api not working.
Comment #2
Bilmar commentedsubscribing
Comment #3
Scott Reynolds commentedThis def fixed a bug. Committed and fix
http://drupal.org/cvs?commit=298938