svn: /web/doc-editor/trunk/scripts/cron/ check_build.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Fri, 13 Nov 2009 22:40:21 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=290718

Log:
more simple...

Changed paths:
    U   web/doc-editor/trunk/scripts/cron/check_build.php

Modified: web/doc-editor/trunk/scripts/cron/check_build.php
===================================================================
--- web/doc-editor/trunk/scripts/cron/check_build.php	2009-11-13 22:38:28 UTC (rev 290717)
+++ web/doc-editor/trunk/scripts/cron/check_build.php	2009-11-13 22:40:21 UTC (rev 290718)
@@ -12,8 +12,6 @@
 require_once dirname(__FILE__) . '/../../php/LogManager.php';
 require_once dirname(__FILE__) . '/../../php/RepositoryManager.php';

-$ac = AccountManager::getInstance();
-
 // For all language, we check the build
 foreach (RepositoryManager::getInstance()->availableLang as $lang) {

@@ -46,7 +44,7 @@

         $subject = "[DOC-".strtoupper($lang)."] - Your documentation is broken";

-        $ac->email($to, $subject, $msg);
+        AccountManager::getInstance()->email($to, $subject, $msg);
     }

     LogManager::getInstance()->saveBuildLogStatus($lang, $status);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.