Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 09479f02

Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt

  • ID 09479f022ab9e0815ceee55923ae46df51afbd42
  • Vorgänger bcc99615
  • Nachfolger 88ace518

Dispatcher: end_of_request() sub aus main namespace verbannt

Unterschiede anzeigen:

SL/User.pm
149 149

  
150 150
  if ($form->{"show_dbupdate_warning"}) {
151 151
    print $form->parse_html_template("dbupgrade/warning", { unapplied_scripts => \@unapplied_scripts });
152
    ::end_of_request();
152
    $::dispatcher->end_request;
153 153
  }
154 154

  
155 155
  # update the tables
......
164 164
  # If $self->dbupdate2 returns than this means all upgrade scripts
165 165
  # have been applied successfully, none required user
166 166
  # interaction. Otherwise the deeper layers would have called
167
  # ::end_of_request() already, and return would not have returned to
167
  # $::dispatcher->end_request already, and return would not have returned to
168 168
  # us. Therefore we can now use RDBO instances because their supposed
169 169
  # table structures do match the actual structures. So let's ensure
170 170
  # that the "employee" table contains the appropriate entries for all

Auch abrufbar als: Unified diff