diff --git a/modules/Migration/models/Module.php b/modules/Migration/models/Module.php
index 44cef6173231d910b14f6ff0da11d83cae193031..3190eb623a9ea8cadd761c45f962be203dc65ed1 100644
--- a/modules/Migration/models/Module.php
+++ b/modules/Migration/models/Module.php
@@ -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(){