Merge pull request #11940 from owncloud/fix-underline-convention

fix shortcuts - underline instead of camelCase
remotes/origin/fix-10825
Thomas Müller 10 years ago
commit 9323ba53b1
  1. 4
      lib/private/template/functions.php

@ -45,7 +45,7 @@ function script($app, $file) {
* @param string|string[] $file the filename,
* if an array is given it will add all scripts
*/
function vendorScript($app, $file) {
function vendor_script($app, $file) {
if(is_array($file)) {
foreach($file as $f) {
OC_Util::addVendorScript($app, $f);
@ -77,7 +77,7 @@ function style($app, $file) {
* @param string|string[] $file the filename,
* if an array is given it will add all styles
*/
function vendorStyle($app, $file) {
function vendor_style($app, $file) {
if(is_array($file)) {
foreach($file as $f) {
OC_Util::addVendorStyle($app, $f);

Loading…
Cancel
Save