Merge branch 'xorg/master' into xorg/f/xnet-accounts
[platal.git] / upgrade / 1.0.1 / tokenize_job_terms.php
index 31bea52..5210fc3 100755 (executable)
@@ -1,13 +1,12 @@
 #!/usr/bin/php5
 <?php
 require_once 'connect.db.inc.php';
-require_once 'profil.func.inc.php';
 
 $globals->debug = 0; //do not store backtraces
 
 $terms = XDB::iterator('SELECT `jtid`, `name` FROM `profile_job_term_enum`');
 while ($term = $terms->next()) {
-    $tokens = array_unique(tokenize_job_term($term['name']));
+    $tokens = array_unique(JobTerms::tokenize($term['name']));
     if (!count($tokens)) {
         continue;
     }