svn: /web/doc-editor/trunk/php/ AccountManager.php
[email protected] (Yannick Torres)
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
yannick Sat, 23 Jul 2011 09:02:07 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313625
Log:
Add debug to AccountManager
Changed paths:
U web/doc-editor/trunk/php/AccountManager.php
Modified: web/doc-editor/trunk/php/AccountManager.php
===================================================================
--- web/doc-editor/trunk/php/AccountManager.php 2011-07-23 08:55:23 UTC (rev 313624)
+++ web/doc-editor/trunk/php/AccountManager.php 2011-07-23 09:02:07 UTC (rev 313625)
@@ -491,6 +491,9 @@
$params = array($this->project, $userLogin, $anonymousIdent);
$r = $this->conn->query($s, $params);
$a = $r->fetch_object();
+
+ // We have a warn in production here
+ debug("In AccountManager ; In anonymous() method ; userLogin=".$userLogin."; anonymousIdent=".$anonymousIdent.";");
return ( $a->authService == 'VCS' && $a->anonymousIdent == '' ) ? false : true;
}