Ver código fonte

remove superfluous ?> at the end of .php files (left out apps/*/templates)

tags/v4.5.0beta1
Jörn Friedrich Dreyer 12 anos atrás
pai
commit
e59a1806cf
100 arquivos alterados com 40 adições e 209 exclusões
  1. 1
    2
      apps/bookmarks/lib/bookmarks.php
  2. 0
    1
      apps/contacts/ajax/addbook.php
  3. 0
    1
      apps/contacts/ajax/categories/categoriesfor.php
  4. 0
    2
      apps/contacts/ajax/categories/delete.php
  5. 0
    2
      apps/contacts/ajax/categories/list.php
  6. 0
    2
      apps/contacts/ajax/categories/rescan.php
  7. 0
    2
      apps/contacts/ajax/currentphoto.php
  8. 0
    2
      apps/contacts/ajax/editaddress.php
  9. 0
    1
      apps/contacts/ajax/editaddressbook.php
  10. 0
    2
      apps/contacts/ajax/editname.php
  11. 0
    1
      apps/contacts/ajax/importaddressbook.php
  12. 0
    1
      apps/contacts/ajax/importdialog.php
  13. 0
    2
      apps/contacts/ajax/oc_photo.php
  14. 0
    3
      apps/contacts/ajax/uploadimport.php
  15. 0
    1
      apps/contacts/ajax/uploadphoto.php
  16. 0
    1
      apps/contacts/export.php
  17. 0
    2
      apps/contacts/index.php
  18. 0
    1
      apps/contacts/settings.php
  19. 0
    1
      apps/external/ajax/setsites.php
  20. 0
    1
      apps/external/index.php
  21. 0
    2
      apps/external/lib/external.php
  22. 0
    1
      apps/external/settings.php
  23. 0
    2
      apps/files/ajax/autocomplete.php
  24. 0
    2
      apps/files/ajax/delete.php
  25. 0
    1
      apps/files/ajax/download.php
  26. 0
    2
      apps/files/ajax/list.php
  27. 0
    2
      apps/files/ajax/mimeicon.php
  28. 0
    2
      apps/files/ajax/move.php
  29. 0
    2
      apps/files/ajax/rawlist.php
  30. 0
    2
      apps/files/ajax/rename.php
  31. 1
    1
      apps/files/ajax/timezone.php
  32. 0
    2
      apps/files/ajax/upload.php
  33. 0
    1
      apps/files/download.php
  34. 0
    2
      apps/files/index.php
  35. 0
    2
      apps/files/settings.php
  36. 0
    2
      apps/files_external/ajax/addMountPoint.php
  37. 0
    2
      apps/files_external/ajax/removeMountPoint.php
  38. 0
    3
      apps/files_external/tests/amazons3.php
  39. 0
    2
      apps/files_imageviewer/appinfo/app.php
  40. 0
    1
      apps/files_pdfviewer/appinfo/app.php
  41. 0
    2
      apps/files_sharing/ajax/email.php
  42. 0
    2
      apps/files_sharing/ajax/getitem.php
  43. 0
    2
      apps/files_sharing/ajax/getstatuses.php
  44. 0
    2
      apps/files_sharing/ajax/setpermissions.php
  45. 0
    2
      apps/files_sharing/ajax/share.php
  46. 0
    2
      apps/files_sharing/ajax/toggleresharing.php
  47. 0
    2
      apps/files_sharing/ajax/unshare.php
  48. 0
    2
      apps/files_sharing/ajax/userautocomplete.php
  49. 0
    1
      apps/files_sharing/get.php
  50. 0
    2
      apps/files_sharing/lib_share.php
  51. 0
    2
      apps/files_sharing/list.php
  52. 0
    1
      apps/files_texteditor/appinfo/app.php
  53. 0
    2
      apps/files_versions/ajax/togglesettings.php
  54. 0
    2
      apps/files_versions/history.php
  55. 35
    37
      apps/files_versions/lib/hooks.php
  56. 0
    1
      apps/files_versions/settings.php
  57. 0
    2
      apps/gallery/ajax/createAlbum.php
  58. 0
    1
      apps/gallery/ajax/galleryOp.php
  59. 0
    1
      apps/gallery/index.php
  60. 0
    2
      apps/gallery/lib/hooks_handlers.php
  61. 0
    2
      apps/gallery/lib/images_utils.php
  62. 3
    4
      apps/gallery/lib/managers.php
  63. 0
    2
      apps/gallery/lib/tiles.php
  64. 0
    2
      apps/gallery/lib/tiles_test.php
  65. 0
    1
      apps/media/ajax/api.php
  66. 0
    1
      apps/media/ajax/autoupdate.php
  67. 0
    2
      apps/media/index.php
  68. 0
    2
      apps/media/lib_ampache.php
  69. 0
    2
      apps/media/lib_collection.php
  70. 0
    1
      apps/media/settings.php
  71. 0
    1
      apps/remoteStorage/settings.php
  72. 0
    1
      apps/user_migrate/appinfo/app.php
  73. 0
    1
      apps/user_openid/phpmyid.php
  74. 0
    3
      apps/user_openid/user.php
  75. 0
    1
      apps/user_webfinger/webfinger.php
  76. 0
    2
      core/ajax/grouplist.php
  77. 0
    1
      core/ajax/translations.php
  78. 0
    2
      core/ajax/userlist.php
  79. 0
    2
      core/ajax/validateuser.php
  80. 0
    2
      core/ajax/vcategories/add.php
  81. 0
    2
      core/ajax/vcategories/delete.php
  82. 0
    2
      core/ajax/vcategories/edit.php
  83. 0
    1
      core/strings.php
  84. 0
    1
      lib/MDB2/Driver/Function/sqlite3.php
  85. 0
    1
      lib/MDB2/Driver/Manager/sqlite3.php
  86. 0
    2
      lib/MDB2/Driver/sqlite3.php
  87. 0
    3
      lib/public/app.php
  88. 0
    2
      lib/public/config.php
  89. 0
    2
      lib/public/db.php
  90. 0
    2
      lib/public/files.php
  91. 0
    2
      lib/public/json.php
  92. 0
    2
      lib/public/response.php
  93. 0
    3
      lib/public/template.php
  94. 0
    3
      lib/public/user.php
  95. 0
    2
      lib/public/util.php
  96. 0
    2
      lib/setup.php
  97. 0
    1
      lib/updater.php
  98. 0
    1
      lib/vcategories.php
  99. 0
    3
      ocs/providers.php
  100. 0
    0
      ocs/v1.php

+ 1
- 2
apps/bookmarks/lib/bookmarks.php Ver arquivo

@@ -145,5 +145,4 @@ class OC_Bookmarks_Bookmarks{
$result = $query->execute();
return true;
}
}
?>
}

+ 0
- 1
apps/contacts/ajax/addbook.php Ver arquivo

@@ -17,4 +17,3 @@ $tmpl = new OCP\Template('contacts', 'part.editaddressbook');
$tmpl->assign('new', true);
$tmpl->assign('addressbook', $book);
$tmpl->printPage();
?>

+ 0
- 1
apps/contacts/ajax/categories/categoriesfor.php Ver arquivo

@@ -25,4 +25,3 @@ foreach($vcard->children as $property){
}
}
OCP\JSON::error(array('data' => array('message' => OC_Contacts_App::$l10n->t('Error setting checksum.'))));
?>

+ 0
- 2
apps/contacts/ajax/categories/delete.php Ver arquivo

@@ -45,5 +45,3 @@ $catman->delete($categories, $cards);
debug('After delete: '.print_r($catman->categories(), true));
OC_Contacts_VCard::updateDataByID($cards);
OCP\JSON::success(array('data' => array('categories'=>$catman->categories())));

?>

+ 0
- 2
apps/contacts/ajax/categories/list.php Ver arquivo

@@ -13,5 +13,3 @@ OCP\JSON::checkAppEnabled('contacts');
$categories = OC_Contacts_App::getCategories();

OCP\JSON::success(array('data' => array('categories'=>$categories)));

?>

+ 0
- 2
apps/contacts/ajax/categories/rescan.php Ver arquivo

@@ -14,5 +14,3 @@ OC_Contacts_App::scanCategories();
$categories = OC_Contacts_App::getCategories();

OCP\JSON::success(array('data' => array('categories'=>$categories)));

?>

+ 0
- 2
apps/contacts/ajax/currentphoto.php Ver arquivo

@@ -51,5 +51,3 @@ if( is_null($contact)) {
bailOut(OC_Contacts_App::$l10n->t('The loading photo is not valid.'));
}
}

?>

+ 0
- 2
apps/contacts/ajax/editaddress.php Ver arquivo

@@ -39,5 +39,3 @@ $tmpl->assign('adr_types',$adr_types);

$page = $tmpl->fetchPage();
OCP\JSON::success(array('data' => array('page'=>$page, 'checksum'=>$checksum)));

?>

+ 0
- 1
apps/contacts/ajax/editaddressbook.php Ver arquivo

@@ -14,4 +14,3 @@ $tmpl = new OCP\Template("contacts", "part.editaddressbook");
$tmpl->assign('new', false);
$tmpl->assign('addressbook', $addressbook);
$tmpl->printPage();
?>

+ 0
- 2
apps/contacts/ajax/editname.php Ver arquivo

@@ -32,5 +32,3 @@ if($id) {
}
$page = $tmpl->fetchPage();
OCP\JSON::success(array('data' => array('page'=>$page)));

?>

+ 0
- 1
apps/contacts/ajax/importaddressbook.php Ver arquivo

@@ -21,4 +21,3 @@ $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
$tmpl->assign('requesttoken', $_SERVER['HTTP_REQUESTTOKEN']);
$tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
$tmpl->printpage();
?>

+ 0
- 1
apps/contacts/ajax/importdialog.php Ver arquivo

@@ -13,4 +13,3 @@ $tmpl = new OCP\Template('contacts', 'part.import');
$tmpl->assign('path', $_POST['path']);
$tmpl->assign('filename', $_POST['filename']);
$tmpl->printpage();
?>

+ 0
- 2
apps/contacts/ajax/oc_photo.php Ver arquivo

@@ -58,5 +58,3 @@ if(OC_Cache::set($tmpkey, $image->data(), 600)) {
} else {
bailOut('Couldn\'t save temporary image: '.$tmpkey);
}

?>

+ 0
- 3
apps/contacts/ajax/uploadimport.php Ver arquivo

@@ -70,6 +70,3 @@ if(file_exists($file['tmp_name'])) {
} else {
bailOut('Temporary file: \''.$file['tmp_name'].'\' has gone AWOL?');
}


?>

+ 0
- 1
apps/contacts/ajax/uploadphoto.php Ver arquivo

@@ -102,4 +102,3 @@ if(file_exists($file['tmp_name'])) {
} else {
bailOut('Temporary file: \''.$file['tmp_name'].'\' has gone AWOL?');
}
?>

+ 0
- 1
apps/contacts/export.php Ver arquivo

@@ -32,4 +32,3 @@ if(isset($bookid)){
header('Content-Disposition: inline; filename=' . str_replace(' ', '_', $data['fullname']) . '.vcf');
echo $data['carddata'];
}
?>

+ 0
- 2
apps/contacts/index.php Ver arquivo

@@ -73,5 +73,3 @@ $tmpl->assign('addressbooks', $addressbooks);
$tmpl->assign('details', $details );
$tmpl->assign('id',$id);
$tmpl->printPage();

?>

+ 0
- 1
apps/contacts/settings.php Ver arquivo

@@ -4,4 +4,3 @@ $tmpl = new OCP\Template( 'contacts', 'settings');
$tmpl->assign('addressbooks', OC_Contacts_Addressbook::all(OCP\USER::getUser()), false);

return $tmpl->fetchPage();
?>

+ 0
- 1
apps/external/ajax/setsites.php Ver arquivo

@@ -23,4 +23,3 @@ else
OCP\Config::setAppValue('external', 'sites', json_encode($sites));

echo 'true';
?>

+ 0
- 1
apps/external/index.php Ver arquivo

@@ -40,4 +40,3 @@ if (isset($_GET['id'])) {
$tmpl->printPage();
}
}
?>

+ 0
- 2
apps/external/lib/external.php Ver arquivo

@@ -32,5 +32,3 @@ class OC_External {
}

}

?>

+ 0
- 1
apps/external/settings.php Ver arquivo

@@ -7,4 +7,3 @@ OCP\Util::addscript( "external", "admin" );
$tmpl = new OCP\Template( 'external', 'settings');

return $tmpl->fetchPage();
?>

+ 0
- 2
apps/files/ajax/autocomplete.php Ver arquivo

@@ -52,5 +52,3 @@ if(OC_Filesystem::file_exists($base) and OC_Filesystem::is_dir($base)){
}
}
OCP\JSON::encodedPrint($files);

?>

+ 0
- 2
apps/files/ajax/delete.php Ver arquivo

@@ -26,5 +26,3 @@ if($success) {
} else {
OCP\JSON::error(array("data" => array( "message" => "Could not delete:\n" . $filesWithError )));
}

?>

+ 0
- 1
apps/files/ajax/download.php Ver arquivo

@@ -34,4 +34,3 @@ $files = $_GET["files"];
$dir = $_GET["dir"];

OC_Files::get($dir, $files, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
?>

+ 0
- 2
apps/files/ajax/list.php Ver arquivo

@@ -42,5 +42,3 @@ $list->assign( "files", $files, false );
$data = array('files' => $list->fetchPage());

OCP\JSON::success(array('data' => $data));

?>

+ 0
- 2
apps/files/ajax/mimeicon.php Ver arquivo

@@ -7,5 +7,3 @@ $RUNTIME_NOAPPS=false;


print OC_Helper::mimetypeIcon($_GET['mime']);

?>

+ 0
- 2
apps/files/ajax/move.php Ver arquivo

@@ -17,5 +17,3 @@ if(OC_Files::move($dir,$file,$target,$file)){
}else{
OCP\JSON::error(array("data" => array( "message" => "Could not move $file" )));
}

?>

+ 0
- 2
apps/files/ajax/rawlist.php Ver arquivo

@@ -22,5 +22,3 @@ foreach( OC_Files::getdirectorycontent( $dir, $mimetype ) as $i ){
}

OCP\JSON::success(array('data' => $files));

?>

+ 0
- 2
apps/files/ajax/rename.php Ver arquivo

@@ -18,5 +18,3 @@ if( OC_Files::move( $dir, $file, $dir, $newname )) {
else{
OCP\JSON::error(array("data" => array( "message" => "Unable to rename file" )));
}

?>

+ 1
- 1
apps/files/ajax/timezone.php Ver arquivo

@@ -3,4 +3,4 @@
// see lib/base.php for an example
//session_start();
$_SESSION['timezone'] = $_GET['time'];
?>

+ 0
- 2
apps/files/ajax/upload.php Ver arquivo

@@ -60,5 +60,3 @@ if(strpos($dir,'..') === false){
}

OCP\JSON::error(array('data' => array('error' => $error, "file" => $fileName)));

?>

+ 0
- 1
apps/files/download.php Ver arquivo

@@ -46,4 +46,3 @@ header('Content-Length: '.OC_Filesystem::filesize($filename));

@ob_end_clean();
OC_Filesystem::readfile( $filename );
?>

+ 0
- 2
apps/files/index.php Ver arquivo

@@ -98,5 +98,3 @@ $tmpl->assign( 'uploadMaxFilesize', $maxUploadFilesize);
$tmpl->assign( 'uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
$tmpl->assign( 'allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
$tmpl->printPage();

?>

+ 0
- 2
apps/files/settings.php Ver arquivo

@@ -56,5 +56,3 @@ $tmpl = new OCP\Template( "files", "index", "user" );
$tmpl->assign( 'files', $files );
$tmpl->assign( "breadcrumb", $breadcrumb );
$tmpl->printPage();

?>

+ 0
- 2
apps/files_external/ajax/addMountPoint.php Ver arquivo

@@ -11,5 +11,3 @@ if ($_POST['isPersonal'] == 'true') {
$isPersonal = false;
}
OC_Mount_Config::addMountPoint($_POST['mountPoint'], $_POST['class'], $_POST['classOptions'], $_POST['mountType'], $_POST['applicable'], $isPersonal);

?>

+ 0
- 2
apps/files_external/ajax/removeMountPoint.php Ver arquivo

@@ -11,5 +11,3 @@ if ($_POST['isPersonal'] == 'true') {
$isPersonal = false;
}
OC_Mount_Config::removeMountPoint($_POST['mountPoint'], $_POST['mountType'], $_POST['applicable'], $isPersonal);

?>

+ 0
- 3
apps/files_external/tests/amazons3.php Ver arquivo

@@ -45,6 +45,3 @@ if (!is_array($config) or !isset($config['amazons3']) or !$config['amazons3']['r
}
}
}

?>


+ 0
- 2
apps/files_imageviewer/appinfo/app.php Ver arquivo

@@ -4,5 +4,3 @@ OCP\Util::addscript( 'files_imageviewer', 'lightbox' );
OCP\Util::addscript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
OCP\Util::addscript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
OCP\Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );

?>

+ 0
- 1
apps/files_pdfviewer/appinfo/app.php Ver arquivo

@@ -6,4 +6,3 @@ OCP\Util::addscript( 'files_pdfviewer', 'pdfjs/compatibility');
OCP\Util::addscript( 'files_pdfviewer', 'viewer');
OCP\Util::addscript( 'files_pdfviewer', 'pdfjs/build/pdf');
OCP\Util::addscript( 'files_pdfviewer', 'pdfjs/viewer');
?>

+ 0
- 2
apps/files_sharing/ajax/email.php Ver arquivo

@@ -11,5 +11,3 @@ $link = $_POST['link'];
$text = $user.' shared the '.$type.' '.$_POST['file'].' with you. It is available for download here: '.$link;
$fromaddress = OCP\Config::getUserValue($user, 'settings', 'email', 'sharing-noreply@'.OCP\Util::getServerHost());
OC_Mail::send($_POST['toaddress'], $_POST['toaddress'], $subject, $text, $fromaddress, $user);

?>

+ 0
- 2
apps/files_sharing/ajax/getitem.php Ver arquivo

@@ -64,5 +64,3 @@ while ($path != $userDirectory) {
}

OCP\JSON::success(array('data' => $item));

?>

+ 0
- 2
apps/files_sharing/ajax/getstatuses.php Ver arquivo

@@ -20,5 +20,3 @@ if ($rows = OC_Share::getMySharedItems()) {
}

OCP\JSON::success(array('data' => $items));

?>

+ 0
- 2
apps/files_sharing/ajax/setpermissions.php Ver arquivo

@@ -10,5 +10,3 @@ $permissions = $_POST['permissions'];
OC_Share::setPermissions($source, $uid_shared_with, $permissions);

OCP\JSON::success();

?>

+ 0
- 2
apps/files_sharing/ajax/share.php Ver arquivo

@@ -35,5 +35,3 @@ foreach ($sources as $source) {
}
}
}

?>

+ 0
- 2
apps/files_sharing/ajax/toggleresharing.php Ver arquivo

@@ -7,5 +7,3 @@ if ($_POST['resharing'] == true) {
} else {
OCP\Config::setAppValue('files_sharing', 'resharing', 'no');
}

?>

+ 0
- 2
apps/files_sharing/ajax/unshare.php Ver arquivo

@@ -9,5 +9,3 @@ $uid_shared_with = $_POST['uid_shared_with'];
OC_Share::unshare($source, $uid_shared_with);

OCP\JSON::success();

?>

+ 0
- 2
apps/files_sharing/ajax/userautocomplete.php Ver arquivo

@@ -28,5 +28,3 @@ $users[] = "</optgroup>";
$groups[] = "</optgroup>";
$users = array_merge($users, $groups);
OCP\JSON::encodedPrint($users);

?>

+ 0
- 1
apps/files_sharing/get.php Ver arquivo

@@ -86,4 +86,3 @@ if (isset($_GET['token']) && $source = OC_Share::getSource($_GET['token'])) {
$tmpl->printPage();
die();
}
?>

+ 0
- 2
apps/files_sharing/lib_share.php Ver arquivo

@@ -513,5 +513,3 @@ class OC_Share {
}

}

?>

+ 0
- 2
apps/files_sharing/list.php Ver arquivo

@@ -33,5 +33,3 @@ OCP\Util::addscript("files_sharing", "list");
$tmpl = new OCP\Template("files_sharing", "list", "user");
$tmpl->assign("shared_items", OC_Share::getMySharedItems());
$tmpl->printPage();

?>

+ 0
- 1
apps/files_texteditor/appinfo/app.php Ver arquivo

@@ -4,4 +4,3 @@ OCP\Util::addStyle( 'files_texteditor', 'DroidSansMono/stylesheet' );
OCP\Util::addStyle( 'files_texteditor', 'style' );
OCP\Util::addscript( 'files_texteditor', 'editor');
OCP\Util::addscript( 'files_texteditor', 'aceeditor/ace');
?>

+ 0
- 2
apps/files_versions/ajax/togglesettings.php Ver arquivo

@@ -7,5 +7,3 @@ if (OCP\Config::getSystemValue('versions', 'true')=='true') {
} else {
OCP\Config::setSystemValue('versions', 'true');
}

?>

+ 0
- 2
apps/files_versions/history.php Ver arquivo

@@ -71,5 +71,3 @@ if ( isset( $_GET['path'] ) ) {
}

$tmpl->printPage( );

?>

+ 35
- 37
apps/files_versions/lib/hooks.php Ver arquivo

@@ -30,43 +30,41 @@ class Hooks {
}
}
/**
* @brief Erase versions of deleted file
* @param array
*
* This function is connected to the delete signal of OC_Filesystem
* cleanup the versions directory if the actual file gets deleted
*/
public static function remove_hook($params) {
$rel_path = $params['path'];
$abs_path = \OCP\Config::getSystemValue('datadirectory').'/'.\OCP\User::getUser()."/versions".$rel_path.'.v';
if(Storage::isversioned($rel_path)) {
$versions = Storage::getVersions($rel_path);
foreach ($versions as $v){
unlink($abs_path . $v['version']);
}
}
}
/**
* @brief rename/move versions of renamed/moved files
* @param array with oldpath and newpath
*
* This function is connected to the rename signal of OC_Filesystem and adjust the name and location
* of the stored versions along the actual file
*/
public static function rename_hook($params) {
$rel_oldpath = $params['oldpath'];
$abs_oldpath = \OCP\Config::getSystemValue('datadirectory').'/'.\OCP\User::getUser()."/versions".$rel_oldpath.'.v';
$abs_newpath = \OCP\Config::getSystemValue('datadirectory').'/'.\OCP\User::getUser()."/versions".$params['newpath'].'.v';
if(Storage::isversioned($rel_oldpath)) {
$versions = Storage::getVersions($rel_oldpath);
foreach ($versions as $v){
rename($abs_oldpath.$v['version'], $abs_newpath.$v['version']);
}
}
/**
* @brief Erase versions of deleted file
* @param array
*
* This function is connected to the delete signal of OC_Filesystem
* cleanup the versions directory if the actual file gets deleted
*/
public static function remove_hook($params) {
$rel_path = $params['path'];
$abs_path = \OCP\Config::getSystemValue('datadirectory').'/'.\OCP\User::getUser()."/versions".$rel_path.'.v';
if(Storage::isversioned($rel_path)) {
$versions = Storage::getVersions($rel_path);
foreach ($versions as $v){
unlink($abs_path . $v['version']);
}
}
}
/**
* @brief rename/move versions of renamed/moved files
* @param array with oldpath and newpath
*
* This function is connected to the rename signal of OC_Filesystem and adjust the name and location
* of the stored versions along the actual file
*/
public static function rename_hook($params) {
$rel_oldpath = $params['oldpath'];
$abs_oldpath = \OCP\Config::getSystemValue('datadirectory').'/'.\OCP\User::getUser()."/versions".$rel_oldpath.'.v';
$abs_newpath = \OCP\Config::getSystemValue('datadirectory').'/'.\OCP\User::getUser()."/versions".$params['newpath'].'.v';
if(Storage::isversioned($rel_oldpath)) {
$versions = Storage::getVersions($rel_oldpath);
foreach ($versions as $v){
rename($abs_oldpath.$v['version'], $abs_newpath.$v['version']);
}
}
}
}

?>

+ 0
- 1
apps/files_versions/settings.php Ver arquivo

@@ -7,4 +7,3 @@ OCP\Util::addscript( 'files_versions', 'versions' );
$tmpl = new OCP\Template( 'files_versions', 'settings');

return $tmpl->fetchPage();
?>

+ 0
- 2
apps/gallery/ajax/createAlbum.php Ver arquivo

@@ -28,5 +28,3 @@ OCP\JSON::checkAppEnabled('gallery');
OC_Gallery_Album::create(OCP\USER::getUser(), $_GET['album_name']);

OCP\JSON::success(array('name' => $_GET['album_name']));

?>

+ 0
- 1
apps/gallery/ajax/galleryOp.php Ver arquivo

@@ -186,4 +186,3 @@ if ($_GET['operation']) {
OCP\JSON::error(array('cause' => 'Unknown operation'));
}
}
?>

+ 0
- 1
apps/gallery/index.php Ver arquivo

@@ -103,4 +103,3 @@ $tmpl = new OCP\Template( 'gallery', 'index', 'user' );
$tmpl->assign('root', $root, false);
$tmpl->assign('tl', $tl, false);
$tmpl->printPage();
?>

+ 0
- 2
apps/gallery/lib/hooks_handlers.php Ver arquivo

@@ -38,5 +38,3 @@ class OC_Gallery_Hooks_Handlers {
//TODO: implement this
}
}

?>

+ 0
- 2
apps/gallery/lib/images_utils.php Ver arquivo

@@ -60,5 +60,3 @@ function CroppedThumbnail($imgSrc,$thumbnail_width,$thumbnail_height, $tgtImg, $
imagedestroy($process);
imagedestroy($myImage);
}

?>

+ 3
- 4
apps/gallery/lib/managers.php Ver arquivo

@@ -102,13 +102,12 @@ class ThumbnailsManager {
}
public function delete($path) {
$thumbnail = \OCP\Config::getSystemValue('datadirectory').'/'.\OC_User::getUser()."/gallery".$path;
if (file_exists($thumbnail)) {
unlink($thumbnail);
$thumbnail = \OCP\Config::getSystemValue('datadirectory').'/'.\OC_User::getUser()."/gallery".$path;
if (file_exists($thumbnail)) {
unlink($thumbnail);
}
}
private function __construct() {}

}
?>

+ 0
- 2
apps/gallery/lib/tiles.php Ver arquivo

@@ -174,5 +174,3 @@ class TileStack extends TileBase {
private $tiles_array;
private $stack_name;
}

?>

+ 0
- 2
apps/gallery/lib/tiles_test.php Ver arquivo

@@ -83,5 +83,3 @@ if ($ts->getCount() != 0) {
}

echo $tl->get();

?>

+ 0
- 1
apps/media/ajax/api.php Ver arquivo

@@ -131,4 +131,3 @@ if($arguments['action']){
exit;
}
}
?>

+ 0
- 1
apps/media/ajax/autoupdate.php Ver arquivo

@@ -35,4 +35,3 @@ $autoUpdate=(isset($_GET['autoupdate']) and $_GET['autoupdate']=='true');
OCP\Config::setUserValue(OCP\USER::getUser(),'media','autoupdate',(integer)$autoUpdate);

OCP\JSON::success(array('data' => $autoUpdate));
?>

+ 0
- 2
apps/media/index.php Ver arquivo

@@ -40,5 +40,3 @@ OCP\App::setActiveNavigationEntry( 'media_index' );

$tmpl = new OCP\Template( 'media', 'music', 'user' );
$tmpl->printPage();
?>

+ 0
- 2
apps/media/lib_ampache.php Ver arquivo

@@ -419,5 +419,3 @@ class OC_MEDIA_AMPACHE{
echo('</root>');
}
}

?>

+ 0
- 2
apps/media/lib_collection.php Ver arquivo

@@ -387,5 +387,3 @@ class OC_MEDIA_COLLECTION{
$query->execute(array($newPath,$oldPath));
}
}

?>

+ 0
- 1
apps/media/settings.php Ver arquivo

@@ -3,4 +3,3 @@
$tmpl = new OCP\Template( 'media', 'settings');

return $tmpl->fetchPage();
?>

+ 0
- 1
apps/remoteStorage/settings.php Ver arquivo

@@ -4,4 +4,3 @@ require_once('lib_remoteStorage.php');
$tmpl = new OCP\Template( 'remoteStorage', 'settings');

return $tmpl->fetchPage();
?>

+ 0
- 1
apps/user_migrate/appinfo/app.php Ver arquivo

@@ -31,4 +31,3 @@ $entry = array(
'href' => OCP\Util::linkTo( "user_migrate", "admin.php" ),
'name' => 'Import'
);
?>

+ 0
- 1
apps/user_openid/phpmyid.php Ver arquivo

@@ -1705,4 +1705,3 @@ $run_mode = (isset($_REQUEST['openid_mode'])
debug("Run mode: $run_mode at: " . time());
debug($_REQUEST, 'Request params');
call_user_func($run_mode . '_mode');
?>

+ 0
- 3
apps/user_openid/user.php Ver arquivo

@@ -45,6 +45,3 @@ if(!OCP\User::userExists($USERNAME)){
$IDENTITY=OCP\Util::linkToAbsolute( "user_openid", "user.php" ).'/'.$USERNAME;

require_once 'phpmyid.php';


?>

+ 0
- 1
apps/user_webfinger/webfinger.php Ver arquivo

@@ -58,4 +58,3 @@ foreach($apps as $app) {
}
}
echo "]}";
?>

+ 0
- 2
core/ajax/grouplist.php Ver arquivo

@@ -45,5 +45,3 @@ foreach( OC_Group::getGroups() as $i ){
}

OC_JSON::encodedPrint($groups);

?>

+ 0
- 1
core/ajax/translations.php Ver arquivo

@@ -29,4 +29,3 @@ $app = $_POST["app"];
$l = OC_L10N::get( $app );

OC_JSON::success(array('data' => $l->getTranslations()));
?>

+ 0
- 2
core/ajax/userlist.php Ver arquivo

@@ -44,5 +44,3 @@ foreach( OC_User::getUsers() as $i ){
}

OC_JSON::encodedPrint($users);

?>

+ 0
- 2
core/ajax/validateuser.php Ver arquivo

@@ -36,5 +36,3 @@ if(!isset($_SERVER['PHP_AUTH_USER'])){
OC_JSON::encodedPrint(array("username" => $_SERVER["PHP_AUTH_USER"], "user_valid" => "false"));
}
}

?>

+ 0
- 2
core/ajax/vcategories/add.php Ver arquivo

@@ -39,5 +39,3 @@ if($categories->hasCategory($category)) {
}

OC_JSON::success(array('data' => array('categories'=>$categories->categories())));

?>

+ 0
- 2
core/ajax/vcategories/delete.php Ver arquivo

@@ -34,5 +34,3 @@ if(is_null($categories)) {
$vcategories = new OC_VCategories($app);
$vcategories->delete($categories);
OC_JSON::success(array('data' => array('categories'=>$vcategories->categories())));

?>

+ 0
- 2
core/ajax/vcategories/edit.php Ver arquivo

@@ -31,5 +31,3 @@ $categories = $vcategories->categories();
debug(print_r($categories, true));
$tmpl->assign('categories',$categories);
$tmpl->printpage();

?>

+ 0
- 1
core/strings.php Ver arquivo

@@ -7,4 +7,3 @@ $l->t("Users");
$l->t("Apps");
$l->t("Admin");
$l->t("Help");
?>

+ 0
- 1
lib/MDB2/Driver/Function/sqlite3.php Ver arquivo

@@ -134,4 +134,3 @@ class MDB2_Driver_Function_sqlite3 extends MDB2_Driver_Function_Common

// }}}
}
?>

+ 0
- 1
lib/MDB2/Driver/Manager/sqlite3.php Ver arquivo

@@ -1360,4 +1360,3 @@ class MDB2_Driver_Manager_sqlite3 extends MDB2_Driver_Manager_Common

// }}}
}
?>

+ 0
- 2
lib/MDB2/Driver/sqlite3.php Ver arquivo

@@ -1332,5 +1332,3 @@ class MDB2_Statement_sqlite3 extends MDB2_Statement_Common
$this->free();
}
}

?>

+ 0
- 3
lib/public/app.php Ver arquivo

@@ -158,6 +158,3 @@ class App {


}


?>

+ 0
- 2
lib/public/config.php Ver arquivo

@@ -134,5 +134,3 @@ class Config {


}

?>

+ 0
- 2
lib/public/db.php Ver arquivo

@@ -91,5 +91,3 @@ class DB {


}

?>

+ 0
- 2
lib/public/files.php Ver arquivo

@@ -115,5 +115,3 @@ class Files {


}

?>

+ 0
- 2
lib/public/json.php Ver arquivo

@@ -105,5 +105,3 @@ class JSON {
}

}

?>

+ 0
- 2
lib/public/response.php Ver arquivo

@@ -105,5 +105,3 @@ class Response {


}

?>

+ 0
- 3
lib/public/template.php Ver arquivo

@@ -104,6 +104,3 @@ function html_select_options($options, $selected, $params=array()) {
class Template extends \OC_Template {

}


?>

+ 0
- 3
lib/public/user.php Ver arquivo

@@ -120,6 +120,3 @@ class User {


}


?>

+ 0
- 2
lib/public/util.php Ver arquivo

@@ -321,5 +321,3 @@ class Util {
return(\OC_Helper::mb_str_replace($search, $replace, $subject, $encoding, $count));
}
}

?>

+ 0
- 2
lib/setup.php Ver arquivo

@@ -380,5 +380,3 @@ class OC_Setup {
file_put_contents(OC_Config::getValue('datadirectory', OC::$SERVERROOT.'/data').'/index.html', '');
}
}

?>

+ 0
- 1
lib/updater.php Ver arquivo

@@ -84,4 +84,3 @@ class OC_Updater{

}
}
?>

+ 0
- 1
lib/vcategories.php Ver arquivo

@@ -223,4 +223,3 @@ class OC_VCategories {
}

}
?>

+ 0
- 3
ocs/providers.php Ver arquivo

@@ -40,6 +40,3 @@ echo('
</provider>
</providers>
');


?>

+ 0
- 0
ocs/v1.php Ver arquivo


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff

Carregando…
Cancelar
Salvar