/*
- * "$Id: ipp.c,v 1.127.2.51 2003/03/19 18:09:25 mike Exp $"
+ * "$Id: ipp.c,v 1.127.2.52 2003/03/20 03:05:40 mike Exp $"
  *
  *   IPP routines for the Common UNIX Printing System (CUPS) scheduler.
  *
     LogMessage(L_INFO, "Class \'%s\' modified by \'%s\'.", pclass->name,
                con->username);
   else
+  {
+    AddPrinterHistory(pclass);
+
     LogMessage(L_INFO, "New class \'%s\' added by \'%s\'.", pclass->name,
                con->username);
+  }
 
   con->response->request.status.status_code = IPP_OK;
 }
     LogMessage(L_INFO, "Printer \'%s\' modified by \'%s\'.", printer->name,
                con->username);
   else
+  {
+    AddPrinterHistory(printer);
+
     LogMessage(L_INFO, "New printer \'%s\' added by \'%s\'.", printer->name,
                con->username);
+  }
 
   con->response->request.status.status_code = IPP_OK;
 }
 
 
 /*
- * End of "$Id: ipp.c,v 1.127.2.51 2003/03/19 18:09:25 mike Exp $".
+ * End of "$Id: ipp.c,v 1.127.2.52 2003/03/20 03:05:40 mike Exp $".
  */
 
 /*
- * "$Id: printers.c,v 1.93.2.41 2003/03/19 06:07:50 mike Exp $"
+ * "$Id: printers.c,v 1.93.2.42 2003/03/20 03:05:42 mike Exp $"
  *
  *   Printer routines for the Common UNIX Printing System (CUPS).
  *
       if (p != NULL)
       {
         SetPrinterAttrs(p);
+       AddPrinterHistory(p);
         p = NULL;
       }
       else
 
 
 /*
- * End of "$Id: printers.c,v 1.93.2.41 2003/03/19 06:07:50 mike Exp $".
+ * End of "$Id: printers.c,v 1.93.2.42 2003/03/20 03:05:42 mike Exp $".
  */