if (Event::handle('StartShowStatusNetScripts', array($this))) {
$this->script('util.js');
$this->script('xbImportNode.js');
- $this->script('geometa.js');
+ if (common_location_shared()) {
+ $this->script('geometa.js');
+ }
// This route isn't available in single-user mode.
// Not sure why, but it causes errors here.
*
* @return boolean is read only action?
*/
- function isReadOnly($args)
+ function isReadOnly(array $args=array())
{
return false;
}