Download & Extend

Add domain_get_domain()

Project:Domain Access
Version:6.x-2.0-rc8
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

This companion function to domain_set_domain() simply returns the value of the $_domain global, as suggested here --> http://drupal.org/node/275278#comment-1743196.

Moving to this function in D7 will allow us to use a static function to store the $_domain variable, eliminating the use of a global.

AttachmentSize
275278-domain-get.patch965 bytes

Comments

#1

Thanks for this, agentrickard

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.