Exemple #1
0
 /**
  * Checks for any deprecations and then shows them
  * to the end user.
  */
 private static function draw_deprecation_warnings()
 {
     $deprecations = ShareaholicDeprecation::all();
     if (!empty($deprecations)) {
         ShareaholicUtilities::load_template('deprecation_warnings', array('deprecation_warnings' => $deprecations));
     }
 }