nextcloud/apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Lang.php
2013-10-22 13:22:41 +02:00

21 lines
284 B
PHP

<?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;
}
}