Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Lang.php « Common « OpenCloud « lib « php-opencloud « 3rdparty « files_external « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7bb12859734b51b7592513b8716ac6760c8f9c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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;
	}
	
}