1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +01:00

change comments in import.php

This commit is contained in:
Georg Ehrke 2012-01-15 11:47:35 +01:00
parent 0e1b92aafd
commit 51e7ff2bc2

View File

@ -5,7 +5,7 @@
* later.
* See the COPYING-README file.
*/
//check for calendar rights or create new one
//check for addressbooks rights or create new one
ob_start();
require_once ('../../lib/base.php');
OC_JSON::checkLoggedIn();
@ -29,7 +29,7 @@ if($_POST['method'] == 'new'){
}
$id = $_POST['id'];
}
//analyse the calendar file
//analyse the contacts file
if(is_writable('import_tmp/')){
$progressfopen = fopen($progressfile, 'w');
fwrite($progressfopen, '20');
@ -57,7 +57,7 @@ foreach($filearr as $line){
}
$i++;
}
//import the calendar
//import the contacts
if(is_writable('import_tmp/')){
$progressfopen = fopen($progressfile, 'w');
fwrite($progressfopen, '40');