[Tickets #8671] Re: Nag::listAlarms fails when called from the scripts/alarms.php cron job

bugs at horde.org bugs at horde.org
Thu Nov 12 16:50:55 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8671
------------------------------------------------------------------------------
  Ticket             | 8671
  Updated By         | Valentin.Vidic at CARNet.hr
  Summary            | Nag::listAlarms fails when called from the
                     | scripts/alarms.php cron job
  Queue              | Nag
  Version            | 2.3.3
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Valentin.Vidic at CARNet.hr (2009-11-12 11:50) wrote:

> DB::connect() is a singleton. Even if we create many Nag_Driver  
> instances, DB::connect() should always return the same DB instance,  
> and thus only use one db connection.

I can't find any singleton functionality in DB.php. Perhaps you are  
talking about MDB2, but nag is still using the old DB interface.






More information about the bugs mailing list