original_string: public static function getDeleteTableLogTables()
      {
          $provider = StaticContainer::get('Piwik\Plugin\LogTablesProvider');
  
          $result = array();
          foreach ($provider->getAllLogTables() as $logTable) {
  
              if ($logTable->getColumnToJoinOnIdVisit()) {
                  $result[] = Common::prefixTable($logTable->getName());
              }
          }
  
          if (Db::isLockPrivilegeGranted()) {
              $result[] = Common::prefixTable('log_action');
          }
  
          return $result;
      }
code: public static function getDeleteTableLogTables()
      {
          $provider = StaticContainer::get('Piwik\Plugin\LogTablesProvider');
  
          $result = array();
          foreach ($provider->getAllLogTables() as $logTable) {
  
              if ($logTable->getColumnToJoinOnIdVisit()) {
                  $result[] = Common::prefixTable($logTable->getName());
              }
          }
  
          if (Db::isLockPrivilegeGranted()) {
              $result[] = Common::prefixTable('log_action');
          }
  
          return $result;
      }
code_tokens: public static function getDeleteTableLogTables ( ) { $ provider = StaticContainer :: get ( 'Piwik\Plugin\LogTablesProvider' ) ; $ result = array ( ) ; foreach ( $ provider -> getAllLogTables ( ) as $ logTable ) { if ( $ logTable -> getColumnToJoinOnIdVisit ( ) ) { $ result [ ] = Common :: prefixTable ( $ logTable -> getName ( ) ) ; } } if ( Db :: isLockPrivilegeGranted ( ) ) { $ result [ ] = Common :: prefixTable ( 'log_action' ) ; } return $ result ; }
docstring: let's hardcode, since these are not dynamically created tables
docstring_tokens: let s hardcode since these are not dynamically created tables