We want to exit here, not continue on to the Rpc server.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 14 Aug 2010 16:39:35 +0000 (12:39 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 14 Aug 2010 16:39:35 +0000 (12:39 -0400)
horde/rpc.php

index 08b0473..71455ea 100644 (file)
@@ -94,7 +94,7 @@ switch ($serverType) {
 case 'ActiveSync':
     /* Check if we are even enabled for AS */
     if (empty($conf['activesync']['enabled'])) {
-        break;
+        exit;
     }
 
     if ($conf['activesync']['logging']['type'] == 'custom') {