[Vtigercrm-developers] Content in Menu.php removed without any reference
Manuel Fernando
ptdesigner at gmail.com
Fri Oct 16 23:58:29 GMT 2015
Hello, content added in the next changeset disappeared now in vtiger 6.4 without any reason
You removed this code here
http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7477 <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7477>
and reintroduced here
http://trac.vtiger.com/cgi-bin/trac.cgi/changeset/14360 <http://trac.vtiger.com/cgi-bin/trac.cgi/changeset/14360>
/**
* Remove module from this menu instance.
* @param Vtiger_Module Instance of the module
*/
function removeModule($moduleInstance) {
if(empty($moduleInstance) || empty($moduleInstance)) {
self::log("Module instance is not set!");
return;
}
if($this->id) {
global $adb;
$adb->pquery("DELETE FROM vtiger_parenttabrel WHERE parenttabid = ? AND tabid = ?",
Array($this->id, $moduleInstance->id));
self::log("Removed $moduleInstance->name from menu $this->label ... DONE");
} else {
self::log("Menu could not be found!");
}
self::syncfile();
}
Now in Vt6.4 is not present any more.
And i can not see any updated after this that justificate remove again this code
Best Regards.
Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20151017/3801604e/attachment.html>
More information about the vtigercrm-developers
mailing list