Re: svn: /pear/packages/Bugtracker/trunk/include/classes/ bug_accountrequest.php

From: Date: Mon, 03 Aug 2009 03:48:32 +0000
Subject: Re: svn: /pear/packages/Bugtracker/trunk/include/classes/ bug_accountrequest.php
References: 1 2 3 4  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-56867@lists.php.net to get a copy of this message
On Sun, Aug 2, 2009 at 8:46 PM, Greg Beaver<greg@chiaraquartet.net> wrote: > Jani Taskinen wrote: >> Greg Beaver wrote: >>> Felipe Ribeiro wrote: >>>> felipernb                                Sun, 02 Aug 2009 21:07:07 >>>> +0000 >>>> >>>> Revision: >>>> http://svn.php.net/viewvc?view=revision&revision=286698 >>>> >>>> Log: >>>> Removing confirmRequest, a function that isn't called from anywhere >>>> >>>> Changed paths: >>>>     U >>>> pear/packages/Bugtracker/trunk/include/classes/bug_accountrequest.php >>>> >>>> Modified: >>>> pear/packages/Bugtracker/trunk/include/classes/bug_accountrequest.php >>>> =================================================================== >>>> --- >>>> pear/packages/Bugtracker/trunk/include/classes/bug_accountrequest.php >>>> 2009-08-02 20:49:20 UTC (rev 286697) >>>> +++ >>>> pear/packages/Bugtracker/trunk/include/classes/bug_accountrequest.php >>>> 2009-08-02 21:07:07 UTC (rev 286698) >>>> @@ -134,8 +134,12 @@ >>>>          if (PEAR::isError($res)) { >>>>              return $res; >>>>          } >>>> - >>>> -        $this->handle = $this->dbh->prepare('SELECT handle FROM >>>> bug_account_request WHERE salt=?')->execute(array($salt))->fetchOne(); >>>> +        $stmt = $this->dbh->prepare('SELECT handle FROM >>>> bug_account_request WHERE salt=?'); >>>> +        $res = $stmt->execute(array($salt)); >>>> + >>>> +        if(!PEAR::isError($res)) >>>> +            $this->handle = $stmt->fetchOne(); >>>> + >>>>          return $salt; >>> >>> Hi, >>> >>> Jani: since when is the stuff for PEAR's bug account removed from the >>> tracker? >> >> If it was unused, it was, I didn't check. >> >> In general: Yes, it should all be removed, bugs must be able to be >> reported without any damn accounts. :) >> >> And we already have common auth for all having svn accounts, so devs >> don't need this either. > > Jani, > > Were you planning on *asking* before removing this?  It took a long time > to develop that feature and we actively use it in PEAR. > > put it back. > > Greg > I put it back while you guys make the decision. I'm just someone trying to help :) One thing that I think, (and if I'm saying some bullshit please forgive me) is that if we have the intent to one day have "one bugtracker to rule them all", policies like that (karma, accounts to report bugs, etc) must be unified and written in stone as the first thing to give the right direction for the project to move. While you discuss that, I'll be looking for other stuff that might need to be fixed. Suggestions are welcome. Felipe

« previous php.pear.cvs (#56867) next »