Got rid of all of the .m.html templates and is_mobile cruft
[citadel.git] / webcit / subst.c
index 8bc65275fd066bab4513bfadf56136bba748d664..67d5de31437099085f45823104af659310f58ba4 100644 (file)
@@ -1681,14 +1681,8 @@ const StrBuf *DoTemplate(const char *templatename, long len, StrBuf *Target, WCT
                TP = &LocalTP;
        }
 
-       if (WC->is_mobile > 0) {
-               Static = WirelessTemplateCache;
-               StaticLocal = WirelessLocalTemplateCache;
-       }
-       else {
-               Static = TemplateCache;
-               StaticLocal = LocalTemplateCache;
-       }
+       Static = TemplateCache;
+       StaticLocal = LocalTemplateCache;
 
        if (len == 0)
        {