projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d6b9f2
)
removing test code from the controller
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 14 Nov 2018 17:13:05 +0000
(12:13 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 14 Nov 2018 17:13:05 +0000
(12:13 -0500)
controllers/admin.php
patch
|
blob
|
history
diff --git
a/controllers/admin.php
b/controllers/admin.php
index
b241ee0
..
e1158a3
100755
(executable)
--- a/
controllers/admin.php
+++ b/
controllers/admin.php
@@
-1070,12
+1070,9
@@
class glmMembersAdmin extends GlmPluginSupport
// Update the Smarty view path
$smarty->template->addTemplateDir($viewPath);
- if ( $returnOutput == 'getTemplateData') {
- return $smarty->template->getTemplateVars();
- }
+
// Generate output from model data and view
if ( $returnOutput ) {
- //echo '<pre>', print_r($smarty->template->getTemplateVars()), '</pre>';
$output = $output.$smarty->template->fetch( $viewFile );
} else {
echo $output;