Skip to content
Snippets Groups Projects
Commit 5d92e743 authored by Uma's avatar Uma
Browse files

Migration module php warning addressed

parent b7e9763b
No related branches found
No related tags found
1 merge request!484php warning in migration moduleaddressed
......@@ -21,8 +21,12 @@ class Migration_Module_Model extends Vtiger_Module_Model {
return $currentVersion;
}
public static function getInstance() {
return new self();
/**
* Static Function to get the instance of Vtiger Module Model for the given id or name
* @param mixed id or name of the module
*/
public static function getInstance($value) {
return new self($value);
}
public function getAllowedMigrationVersions(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment