summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rwxr-xr-x[-rw-r--r--]apps/files/ajax/list.php2
-rwxr-xr-x[-rw-r--r--]apps/files/ajax/rawlist.php2
-rwxr-xr-xapps/files/index.php2
-rwxr-xr-x[-rw-r--r--]apps/files_sharing/get.php2
-rwxr-xr-xapps/files_versions/ajax/getVersions.php2
-rwxr-xr-x[-rw-r--r--]apps/files_versions/history.php4
-rwxr-xr-x[-rw-r--r--]apps/files_versions/templates/history.php2
-rwxr-xr-xapps/user_openid/appinfo/app.php4
8 files changed, 10 insertions, 10 deletions
diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php
index 83914332a7d..0bff5742ef4 100644..100755
--- a/apps/files/ajax/list.php
+++ b/apps/files/ajax/list.php
@@ -33,7 +33,7 @@ if($doBreadcrumb){
// make filelist
$files = array();
foreach( OC_Files::getdirectorycontent( $dir ) as $i ){
- $i["date"] = OC_Util::formatDate($i["mtime"] );
+ $i["date"] = OCP\Util::formatDate($i["mtime"] );
$files[] = $i;
}
diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php
index 0b37b93674f..86119de2d1b 100644..100755
--- a/apps/files/ajax/rawlist.php
+++ b/apps/files/ajax/rawlist.php
@@ -16,7 +16,7 @@ $mimetype = isset($_GET['mimetype']) ? $_GET['mimetype'] : '';
// make filelist
$files = array();
foreach( OC_Files::getdirectorycontent( $dir, $mimetype ) as $i ){
- $i["date"] = OC_Util::formatDate($i["mtime"] );
+ $i["date"] = OCP\Util::formatDate($i["mtime"] );
$i['mimetype_icon'] = $i['type'] == 'dir' ? mimetype_icon('dir'): mimetype_icon($i['mimetype']);
$files[] = $i;
}
diff --git a/apps/files/index.php b/apps/files/index.php
index c1b99cfaf5a..180452593ab 100755
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -44,7 +44,7 @@ if(!OC_Filesystem::is_dir($dir.'/')) {
$files = array();
foreach( OC_Files::getdirectorycontent( $dir ) as $i ){
- $i["date"] = OC_Util::formatDate($i["mtime"] );
+ $i["date"] = OCP\Util::formatDate($i["mtime"] );
if($i['type']=='file'){
$fileinfo=pathinfo($i['name']);
$i['basename']=$fileinfo['filename'];
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php
index fbcb265fc03..f6ae4bf075f 100644..100755
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -27,7 +27,7 @@ if ($source !== false) {
$files = array();
$rootLength = strlen($root);
foreach (OC_Files::getdirectorycontent($source) as $i) {
- $i['date'] = OC_Util::formatDate($i['mtime'] );
+ $i['date'] = OCP\Util::formatDate($i['mtime'] );
if ($i['type'] == 'file') {
$fileinfo = pathinfo($i['name']);
$i['basename'] = $fileinfo['filename'];
diff --git a/apps/files_versions/ajax/getVersions.php b/apps/files_versions/ajax/getVersions.php
index 9f5b5908797..d12cf368f18 100755
--- a/apps/files_versions/ajax/getVersions.php
+++ b/apps/files_versions/ajax/getVersions.php
@@ -16,7 +16,7 @@ if( OCA_Versions\Storage::isversioned( $source ) ) {
foreach ( $versions AS $version ) {
- $versionsFormatted[] = OC_Util::formatDate( $version );
+ $versionsFormatted[] = OCP\Util::formatDate( $version );
}
diff --git a/apps/files_versions/history.php b/apps/files_versions/history.php
index 16ad92b90da..d806638e011 100644..100755
--- a/apps/files_versions/history.php
+++ b/apps/files_versions/history.php
@@ -39,13 +39,13 @@ if ( isset( $_GET['path'] ) ) {
$tmpl->assign( 'outcome_stat', 'success' );
- $tmpl->assign( 'outcome_msg', "File {$_GET['path']} was reverted to version ".OC_Util::formatDate( $_GET['revert'] ) );
+ $tmpl->assign( 'outcome_msg', "File {$_GET['path']} was reverted to version ".OCP\Util::formatDate( $_GET['revert'] ) );
} else {
$tmpl->assign( 'outcome_stat', 'failure' );
- $tmpl->assign( 'outcome_msg', "File {$_GET['path']} could not be reverted to version ".OC_Util::formatDate( $_GET['revert'] ) );
+ $tmpl->assign( 'outcome_msg', "File {$_GET['path']} could not be reverted to version ".OCP\Util::formatDate( $_GET['revert'] ) );
}
diff --git a/apps/files_versions/templates/history.php b/apps/files_versions/templates/history.php
index 2ef0c89e229..3b29625b3b0 100644..100755
--- a/apps/files_versions/templates/history.php
+++ b/apps/files_versions/templates/history.php
@@ -22,7 +22,7 @@ if( isset( $_['message'] ) ) {
foreach ( $_['versions'] as $v ) {
echo ' ';
- echo OC_Util::formatDate( $v );
+ echo OCP\Util::formatDate( $v );
echo ' <a href="history.php?path='.urlencode( $_['path'] ).'&revert='. $v .'" class="button">Revert</a><br /><br />';
}
diff --git a/apps/user_openid/appinfo/app.php b/apps/user_openid/appinfo/app.php
index 867a0a3ed33..3e26d922689 100755
--- a/apps/user_openid/appinfo/app.php
+++ b/apps/user_openid/appinfo/app.php
@@ -14,8 +14,8 @@ if(strpos($_SERVER["REQUEST_URI"],'?') and !strpos($_SERVER["REQUEST_URI"],'='))
}
}
-OC_Util::addHeader('link',array('rel'=>'openid.server', 'href'=>OC_Helper::linkToAbsolute( "user_openid", "user.php" ).'/'.$userName));
-OC_Util::addHeader('link',array('rel'=>'openid.delegate', 'href'=>OC_Helper::linkToAbsolute( "user_openid", "user.php" ).'/'.$userName));
+OCP\Util::addHeader('link',array('rel'=>'openid.server', 'href'=>OC_Helper::linkToAbsolute( "user_openid", "user.php" ).'/'.$userName));
+OCP\Util::addHeader('link',array('rel'=>'openid.delegate', 'href'=>OC_Helper::linkToAbsolute( "user_openid", "user.php" ).'/'.$userName));
OC_APP::registerPersonal('user_openid','settings');