]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Design.php
user_id is primary key for user_location_prefs
[quix0rs-gnu-social.git] / classes / Design.php
index d82a0668dc05b54c08c294ffb2333952ec9ecedf..4e7d7dfb257854a4a898ae44524b9a0739671e72 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('LACONICA')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -101,7 +101,7 @@ class Design extends Memcached_DataObject
         }
 
         if (0 != mb_strlen($css)) {
-            $out->element('style', array('type' => 'text/css'), $css);
+            $out->style($css);
         }
     }