@@ -1,2 +1,2 @@
eclipse.preferences.version=1
-include_path=2;/dolibarr
+include_path=2;/dolibarrnew
@@ -546,14 +546,7 @@ function print_user_table($newdb)
$obj = $newdb->fetch_object($resql);
global $object;
- if (! empty($object->ref_customer))
- {
- $url='https://'.$object->ref_customer.'?username='.$obj->login.'&password='.$obj->pass;
- }
- else
- $url='https://'.$object->instance.'.on.dolicloud.com?username='.$obj->login.'&password='.$obj->pass;
+ $url='https://'.$object->ref_customer.'?username='.$obj->login.'&password='.$obj->pass;
print '<tr class="oddeven">';
print '<td>';
print ($i+1);
@@ -33,10 +33,6 @@ function dolicloud_files_refresh($conf, $db, &$object, &$errors, $printoutput=0,
if (empty($database_db)) $database_db = $object->array_options['options_database_db'];
$server=$instance;
- if (! preg_match('/on\.dolicloud\.com/', $instance) && ! preg_match('/with\.dolicloud\.com/', $instance) && ! preg_match('/home\.lan/', $instance))
- $server=$instance.'.on.dolicloud.com';
// SFTP refresh
if (function_exists("ssh2_connect"))