[pLog-svn] r4221 - in plugins/branches/lifetype-1.1/plogpoll: . class/dao

Oscar Renalias oscar at renalias.net
Wed Nov 1 08:02:35 GMT 2006


Are these changes correct? NewDataDictionary() doesn't exist anymore,
and classes should not extend Object anymore either...



On 10/31/06, jondaley at devel.lifetype.net <jondaley at devel.lifetype.net> wrote:
> Author: jondaley
> Date: 2006-10-31 21:58:32 +0000 (Tue, 31 Oct 2006)
> New Revision: 4221
>
> Modified:
>    plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpoll.class.php
>    plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpolls.class.php
>    plugins/branches/lifetype-1.1/plogpoll/pluginplogpoll.class.php
> Log:
> updates from author/wiki
>
> Modified: plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpoll.class.php
> ===================================================================
> --- plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpoll.class.php     2006-10-31 21:56:16 UTC (rev 4220)
> +++ plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpoll.class.php     2006-10-31 21:58:32 UTC (rev 4221)
> @@ -12,7 +12,7 @@
>
>  include_once(PLOG_CLASS_PATH."class/object/object.class.php");
>
> -class PlogPollPoll
> +class PlogPollPoll extends Object
>  {
>    var $_id;
>    var $_subject;
> @@ -25,7 +25,7 @@
>    function PlogPollPoll(
>        $id,$subject,$responses,$responsedata,$dateadded,$active,$blogid)
>    {
> -
> +    $this->Object();
>      $this->_subject = $subject;
>      $this->_responses = $responses;
>      $this->_responsedata = $responsedata;
>
> Modified: plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpolls.class.php
> ===================================================================
> --- plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpolls.class.php    2006-10-31 21:56:16 UTC (rev 4220)
> +++ plugins/branches/lifetype-1.1/plogpoll/class/dao/plogpollpolls.class.php    2006-10-31 21:58:32 UTC (rev 4221)
> @@ -111,7 +111,7 @@
>          "'". Db::qstr(time()). "')";
>        $this->Execute($q);
>
> -      return $this->updatePoll($poll);
> +      return $this->updatePoll(&$poll);
>      }
>      else
>      {
>
> Modified: plugins/branches/lifetype-1.1/plogpoll/pluginplogpoll.class.php
> ===================================================================
> --- plugins/branches/lifetype-1.1/plogpoll/pluginplogpoll.class.php     2006-10-31 21:56:16 UTC (rev 4220)
> +++ plugins/branches/lifetype-1.1/plogpoll/pluginplogpoll.class.php     2006-10-31 21:58:32 UTC (rev 4221)
> @@ -75,7 +75,7 @@
>      $tableName = $dbPrefix."plogpoll_polls";
>      $tableName2 = $dbPrefix."plogpoll_voterips";
>
> -    $dict = NewPDbDataDictionary($db);
> +    $dict = NewDataDictionary($db);
>
>      $sqlAry = $dict->ChangeTableSQL($tableName,$fields);
>      $result = $dict->ExecuteSQLArray($sqlAry);
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>


More information about the pLog-svn mailing list