Code

Removed firstCall check from update function. This is problematic with several sub...
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Aug 2009 12:15:25 +0000 (12:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Aug 2009 12:15:25 +0000 (12:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14151 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_listing.inc

index 9bd97f74ee353dbc5170745ac7bbfbc6dacc659e..26eca3d1fda152d8325d70262ed1830557456eef 100644 (file)
@@ -49,7 +49,6 @@ class listing {
   var $snapshotHandler= null;
   var $exporter= array();
   var $exportColumns= array();
-  var $firstCall= true;
 
 
   function listing($filename)
@@ -425,15 +424,8 @@ class listing {
     // Reset object counter
     $this->objectTypeCount= array();
 
-    // If we call for the first time, simulate the PID
-    if($this->firstCall) {
-      $_REQUEST['PID']= $this->pid;
-      $this->firstCall= false;
-    }
-
-    // Do not do anything if this is not our PID or there's even
-    // no PID available
-    if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->pid) {
+    // Do not do anything if this is not our PID
+    if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->pid) {
       return;
     }