summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-12-09 22:36:39 +0100
committerBart Visscher <bartv@thisnet.nl>2011-12-09 22:36:39 +0100
commit1746cba249328d92cf22bd81e367dd35dabed60c (patch)
treec4ab96b29a1526abc4627f221b66e7fc3cd9dbc0
parenta3cb04013e8cc527c88c94045e9370e8f21d2be2 (diff)
downloadnextcloud-server-1746cba249328d92cf22bd81e367dd35dabed60c.tar.gz
nextcloud-server-1746cba249328d92cf22bd81e367dd35dabed60c.zip
Some small changes
-rw-r--r--apps/calendar/js/calendar.js5
-rw-r--r--lib/updater.php10
2 files changed, 2 insertions, 13 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js
index 005e359f8eb..c3644b53704 100644
--- a/apps/calendar/js/calendar.js
+++ b/apps/calendar/js/calendar.js
@@ -7,7 +7,6 @@
*/
Calendar={
- space:' ',
UI:{
startEventDialog:function(){
$('.tipsy').remove();
@@ -271,9 +270,9 @@ Calendar={
var url;
if (calendarid == 'new'){
- url = "ajax/createcalendar.php";
+ url = OC.filePath('calendar', 'ajax', 'createcalendar.php');
}else{
- url = "ajax/updatecalendar.php";
+ url = OC.filePath('calendar', 'ajax', 'updatecalendar.php');
}
$.post(url, { id: calendarid, name: displayname, active: active, description: description, color: calendarcolor },
function(data){
diff --git a/lib/updater.php b/lib/updater.php
index e4db719a62c..cc4a4602539 100644
--- a/lib/updater.php
+++ b/lib/updater.php
@@ -52,13 +52,9 @@ class OC_Updater{
$tmp['url'] = $data->url;
$tmp['web'] = $data->web;
-
return $tmp;
-
}
-
-
public static function ShowUpdatingHint(){
$data=OC_Updater::check();
if(isset($data['version']) and $data['version']<>'') {
@@ -67,10 +63,8 @@ class OC_Updater{
$txt='Your ownCloud is up to date';
}
return($txt);
-
}
-
/**
* do ownCloud update
*/
@@ -83,9 +77,5 @@ class OC_Updater{
//update version in config
}
-
}
-
-
-
?>