From 332e89bcbd4c82f04c74baa054d49ac39c0c9674 Mon Sep 17 00:00:00 2001 From: vmichnowicz Date: Fri, 8 Jun 2012 21:09:06 -0400 Subject: [PATCH] Update readme, remove helper functions --- README.md | 2 +- controllers/admin.php | 1 - helpers/poll_date_helper.php | 43 ------------------------------------ 3 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 helpers/poll_date_helper.php diff --git a/README.md b/README.md index b044464..23b06bd 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Unless required by applicable law or agreed to in writing, software distributed ### Version 1.0 * Now works with PyroCMS version 2.1.1 -* MySQL database updates +* Longer poll option text (now can be up to 256 characters) * Polls can now be "enabled" or "disabled" * Addon now requires PHP 5.3 or greater diff --git a/controllers/admin.php b/controllers/admin.php index b0284ea..2003bf8 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -32,7 +32,6 @@ public function __construct() $this->load->library('form_validation'); $this->load->model('polls_m'); $this->load->model('poll_options_m'); - $this->load->helper('poll_date'); // Set the validation rules for creating and modifying a poll $this->poll_validation_rules = array( diff --git a/helpers/poll_date_helper.php b/helpers/poll_date_helper.php deleted file mode 100644 index 7dc563c..0000000 --- a/helpers/poll_date_helper.php +++ /dev/null @@ -1,43 +0,0 @@ -