[pLog-svn] r4267 - in
plugins/branches/lifetype-1.1/unported/plogpoll: . class/dao
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Nov 8 04:59:41 GMT 2006
Author: jondaley
Date: 2006-11-08 04:59:19 +0000 (Wed, 08 Nov 2006)
New Revision: 4267
Modified:
plugins/branches/lifetype-1.1/unported/plogpoll/class/dao/plogpollpoll.class.php
plugins/branches/lifetype-1.1/unported/plogpoll/class/dao/plogpollpolls.class.php
plugins/branches/lifetype-1.1/unported/plogpoll/pluginplogpoll.class.php
Log:
reverted change 4221. Oscar already started to modify this plugin, so the author has out-of-date code.
Modified: plugins/branches/lifetype-1.1/unported/plogpoll/class/dao/plogpollpoll.class.php
===================================================================
--- plugins/branches/lifetype-1.1/unported/plogpoll/class/dao/plogpollpoll.class.php 2006-11-08 04:46:43 UTC (rev 4266)
+++ plugins/branches/lifetype-1.1/unported/plogpoll/class/dao/plogpollpoll.class.php 2006-11-08 04:59:19 UTC (rev 4267)
@@ -12,7 +12,7 @@
include_once(PLOG_CLASS_PATH."class/object/object.class.php");
-class PlogPollPoll extends Object
+class PlogPollPoll
{
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/unported/plogpoll/class/dao/plogpollpolls.class.php
===================================================================
--- plugins/branches/lifetype-1.1/unported/plogpoll/class/dao/plogpollpolls.class.php 2006-11-08 04:46:43 UTC (rev 4266)
+++ plugins/branches/lifetype-1.1/unported/plogpoll/class/dao/plogpollpolls.class.php 2006-11-08 04:59:19 UTC (rev 4267)
@@ -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/unported/plogpoll/pluginplogpoll.class.php
===================================================================
--- plugins/branches/lifetype-1.1/unported/plogpoll/pluginplogpoll.class.php 2006-11-08 04:46:43 UTC (rev 4266)
+++ plugins/branches/lifetype-1.1/unported/plogpoll/pluginplogpoll.class.php 2006-11-08 04:59:19 UTC (rev 4267)
@@ -75,7 +75,7 @@
$tableName = $dbPrefix."plogpoll_polls";
$tableName2 = $dbPrefix."plogpoll_voterips";
- $dict = NewDataDictionary($db);
+ $dict = NewPDbDataDictionary($db);
$sqlAry = $dict->ChangeTableSQL($tableName,$fields);
$result = $dict->ExecuteSQLArray($sqlAry);
More information about the pLog-svn
mailing list