You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Lang.php

21 lines
284 B

<?php
namespace OpenCloud\Common;
class Lang
{
public static function translate($word = null)
{
return $word;
}
public static function noslash($str)
{
while ($str && (substr($str, -1) == '/')) {
$str = substr($str, 0, strlen($str) - 1);
}
return $str;
}
}