You are here

function _weather_es_path in Weather_es 6.3

Redirect the user to her correct path.

@author jmsirvent

File

./weather_es.module, line 725

Code

function _weather_es_path($uid) {
  if ($uid == 0) {
    $path = 'admin/settings/weather_es';
  }
  else {
    $path = 'user/' . $uid . '/weather_es';
  }
  return $path;
}