flush out inappropriate changes
authoratif-shaikh <shaikh388@gmail.com>
Fri, 16 Jan 2015 11:12:08 +0000 (16:42 +0530)
committeratif-shaikh <shaikh388@gmail.com>
Fri, 16 Jan 2015 11:12:08 +0000 (16:42 +0530)
CRM/Core/Transaction.php

index 131bca9f751dc90cb8ba170e88cdd872eb7d80a4..aad1beeef625a4cf736430ef0c1abf96a031808e 100644 (file)
@@ -248,7 +248,6 @@ class CRM_Core_Transaction {
    */
   static public function addCallback($phase, $callback, $params = NULL, $id = NULL) {
     $frame = \Civi\Core\Transaction\Manager::singleton()->getBaseFrame();
-    if (empty($frame)) return NULL;
     $frame->addCallback($phase, $callback, $params, $id);
   }
 }