Marius Cramer
2015-04-07 cc7a82756b4f4d7ab18e928527c37489adbaf564
interface/web/admin/remote_action_osupdate.php
@@ -76,15 +76,8 @@
   }
   foreach ($servers as $serverId) {
      $sql = "INSERT INTO sys_remoteaction (server_id, tstamp, action_type, action_param, action_state, response) " .
         "VALUES (".
         $app->functions->intval($serverId) . ", " .
         time() . ", " .
         "'os_update', " .
         "'', " .
         "'pending', " .
         "''" .
         ")";
      $app->db->query($sql);
         "VALUES (?, UNIX_TIMESTAMP(), 'os_update', '', 'pending', '')";
      $app->db->query($sql, $serverId);
   }
   $msg = $wb['action_scheduled'];
}