better handling of misconfigured services in makeInstanceService()
authorRené Fritz <r.fritz@colorcube.de>
Sat, 20 Dec 2003 12:38:01 +0000 (12:38 +0000)
committerRené Fritz <r.fritz@colorcube.de>
Sat, 20 Dec 2003 12:38:01 +0000 (12:38 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@96 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_div.php

index 3926cc8..e619e1d 100755 (executable)
@@ -2836,9 +2836,9 @@ class t3lib_div {
                                        $error = $obj->getLastErrorArray();
                                        unset($obj);
                                }
-                                       // deactivate the service
-                               t3lib_extMgm::deactivateService($info['serviceType'],$info['serviceKey']);
                        }
+                               // deactivate the service
+                       t3lib_extMgm::deactivateService($info['serviceType'],$info['serviceKey']);
                }
                return $error;
        }