fix "table not found" dbdef error message to recommend freeside-upgrade instead creat...
authorivan <ivan>
Tue, 31 Jan 2006 03:00:00 +0000 (03:00 +0000)
committerivan <ivan>
Tue, 31 Jan 2006 03:00:00 +0000 (03:00 +0000)
FS/FS/Record.pm

index 887c8dc..3b37911 100644 (file)
@@ -250,7 +250,7 @@ sub qsearch {
   my $table = $cache ? $cache->table : $stable;
   my $dbdef_table = dbdef->table($table)
     or die "No schema for table $table found - ".
-           "do you need to create it or run dbdef-create?";
+           "do you need to run freeside-upgrade?";
   my $pkey = $dbdef_table->primary_key;
 
   my @real_fields = grep exists($record->{$_}), real_fields($table);