only use plc_advanced() on vicci for now
authorsmbaker <smbaker@fc8clean.lan>
Fri, 5 Oct 2012 03:04:20 +0000 (20:04 -0700)
committersmbaker <smbaker@fc8clean.lan>
Fri, 5 Oct 2012 03:04:20 +0000 (20:04 -0700)
modules/planetlab.module

index 3fd2c5b..478c5c0 100644 (file)
@@ -130,7 +130,9 @@ function planetlab_block($op = 'list', $delta = 0, $edit = array()) {
       $block['content'] .= p( href (l_reset_password(),"Forgot your password?") );
       $block['content'] .= p( href(l_person_register(),"Create an account") );
       $block['content'] .= p( href(l_site_register(),"File a site registration") );
-    } else if (plc_advanced()) {
+    } else if ((PLC_SHORTNAME!="VICCI") || (plc_advanced())) {
+      // for now, only pay attention to plc_advanced() on vicci
+
       $block['subject'] = truncate($plc->person['email'],30);
 
       //////////////////// Logout