DataObjects/I18n.php
[Pman.Core] / RooPostTrait.php
index e8a692e..6be8439 100644 (file)
@@ -445,17 +445,14 @@ trait Pman_Core_RooPostTrait {
                 $this->jerr($p->name . " saved the record since you started editing,\nDo you really want to update it?", array('needs_confirm' => true)); 
                 
             }
-            
-            
-            
         }
+        
         return $lock;
         
     }
     
     function insert($x, $req, $with_perm_check = true)
-    {
-        
+    {   
         if (method_exists($x, 'setFromRoo')) {
             $res = $x->setFromRoo($req, $this);
             if (is_string($res)) {
@@ -505,7 +502,6 @@ trait Pman_Core_RooPostTrait {
             $x->beforeInsert($_REQUEST, $this);
         }
         
-        
         $res = $x->insert();
         if ($res === false) {
             $this->jerr($x->_lastError->toString());