nextcloud/apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Lang.php

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