Commit dac1e339 authored by Steven Wittens's avatar Steven Wittens
Browse files

Pretty up the status report code

parent 883e5631
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
function system_requirements($phase) { function system_requirements($phase) {
$requirements = array(); $requirements = array();
// Ensure translations don't break at install time // Ensure translations don't break at install time
$t = function_exists('t') ? 't' : 'st'; $t = get_t();
// Report Drupal version // Report Drupal version
if ($phase == 'runtime') { if ($phase == 'runtime') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment