projects
/
WP-Plugins
/
glm-member-db-contacts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92d94fc
)
Removed old query that isn't used anymore.
author
Chuck Scott
<cscott@gaslightmedia.com>
Mon, 12 Jun 2017 16:47:56 +0000
(12:47 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Mon, 12 Jun 2017 16:47:56 +0000
(12:47 -0400)
setup/permissions.php
patch
|
blob
|
history
diff --git
a/setup/permissions.php
b/setup/permissions.php
index
e04066e
..
6967d85
100644
(file)
--- a/
setup/permissions.php
+++ b/
setup/permissions.php
@@
-40,8
+40,6
@@
add_filter('glm_members_current_logged_in_user',
}
// Try to get the matching contact data
- $contactInfo = $wpdb->get_row("SELECT * FROM ".GLM_MEMBERS_CONTACTS_PLUGIN_DB_PREFIX . "contacts WHERE id = $contactID;");
-
require_once GLM_MEMBERS_CONTACTS_PLUGIN_CLASS_PATH.'/data/dataContacts.php';
$ContactInfo = new GlmDataContacts($wpdb, $config);
$contactInfo = $ContactInfo->getEntry($contactID);