]> git.mxchange.org Git - friendica-addons.git/blobdiff - planets/planets.php
added admin interface for irc to set popular chans, auto connect chans
[friendica-addons.git] / planets / planets.php
index 1c6ed43b94ac8624a2e691e3fc3c99f51ab3f8f3..d1b59eebe901b192fdf7f7e2419f56b468706113 100755 (executable)
@@ -108,14 +108,7 @@ function planets_post_hook($a, &$item) {
         */
 
        $planets = array('Alderaan','Tatooine','Dagoba','Polis Massa','Coruscant','Hoth','Endor','Kamino','Rattatak','Mustafar','Iego','Geonosis','Felucia','Dantooine','Ansion','Artaru','Bespin','Boz Pity','Cato Neimoidia','Christophsis','Kashyyk','Kessel','Malastare','Mygeeto','Nar Shaddaa','Ord Mantell','Saleucami','Subterrel','Death Star','Teth','Tund','Utapau','Yavin');
-#      $zones = timezone_identifiers_list();
-#      foreach($zones as $zone) {
-#              if((strpos($zone,'/')) && (! stristr($zone,'US/')) && (! stristr($zone,'Etc/')))
-#                      $planets[] = str_replace('_', ' ',substr($zone,strpos($zone,'/') + 1));
-#      }
-# 
-#      if(! count($planets))
-#              return;
+
        $planet = array_rand($planets,1);
        $item['location'] = $planets[$planet];