function _radioactivity_upgrade_view_get_legacy_dpid_from_tablename in Radioactivity 5
1 call to _radioactivity_upgrade_view_get_legacy_dpid_from_tablename()
File
- ./
radioactivity.install, line 119
Code
function _radioactivity_upgrade_view_get_legacy_dpid_from_tablename($tablename) {
$matches = array();
if (preg_match('@^radioactivity_(\\d+)$@', $tablename, $matches)) {
return $matches[1];
}
else {
return FALSE;
}
}