From 291e68d3b584cf9f071ee6dc2af6521bf9c22d9e Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Tue, 16 Feb 2016 10:29:33 -0500 Subject: [PATCH] Changes to deal with main member db table changes --- models/admin/sample/index.php | 81 ----------------------------------- 1 file changed, 81 deletions(-) delete mode 100644 models/admin/sample/index.php diff --git a/models/admin/sample/index.php b/models/admin/sample/index.php deleted file mode 100644 index 86289ad..0000000 --- a/models/admin/sample/index.php +++ /dev/null @@ -1,81 +0,0 @@ - - * @license http://www.gaslightmedia.com Gaslightmedia - * @release admin.php,v 1.0 2014/10/31 19:31:47 cscott Exp $ - * @link http://dev.gaslightmedia.com/ - */ - -/* - * This model is called when the "Shortcodes" menu is selected - * - */ -class GlmMembersAdmin_sample_index -{ - - /** - * WordPress Database Object - * - * @var $wpdb - * @access public - */ - public $wpdb; - - /* - * Constructor - * - * This contructor performs the work for this model. This model returns - * an array containing the following. - * - * 'status' - * - * True if successfull and false if there was a fatal failure. - * - * 'view' - * - * A suggested view name that the contoller should use instead of the - * default view for this model or false to indicate that the default view - * should be used. - * - * 'data' - * - * Data that the model is returning for use in merging with the view to - * produce output. - * - * @wpdb object WordPress database object - * - * @return array Array containing status, suggested view, and any data - */ - public function __construct ($wpdb, $config) - { - - // Save WordPress Database object - $this->wpdb = $wpdb; - - // Save plugin configuration object - $this->config = $config; - - } - - public function modelAction($actionData = false) { - - // Return status, any suggested view, and any data to controller - return array( - 'status' => true, - 'modelRedirect' => false, - 'view' => 'admin/sample/index.html', - 'data' => false - ); - - } -} - -?> \ No newline at end of file -- 2.17.1