Skip to content
Snippets Groups Projects
Commit f5a4387b authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-233] Merging from testing into staging

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1085 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent f7549f0c
No related branches found
No related tags found
No related merge requests found
......@@ -1180,6 +1180,10 @@ function unl_block_view($delta = '') {
*/
function unl_block_view_my_sites()
{
if (user_is_anonymous()) {
return array();
}
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'unl_site_creation.php';
$block = array();
......
......@@ -711,6 +711,10 @@ function unl_user_audit($form, &$form_state) {
* @param string $username
*/
function _unl_get_user_audit_content($username) {
if (user_is_anonymous()) {
return array();
}
$audit_map = array();
foreach (unl_get_site_user_map('username', $username) as $site_id => $site) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment